Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue with sxcu

lucaspuntillo opened this issue · comments

commented

I've tried to upload images using an sxcu with the command: sharenix -upload Screenshot\ 2021-05-14\ 10.47.32.png, and I keep getting this error:

Uploading file to sxcu.net - lucasp.reeee.ee
URL: (jsonpath not found)
Thumbnail URL: (jsonpath not found)
Deletion URL: (jsonpath not found)
Request failed: (jsonpath not found)

This is my config:

{
  "DefaultFileUploader": "uguu.se",
  "DefaultImageUploader": "sxcu.net - lucasp.reeee.ee",
  "XineramaHead": 0,
  "NotificationTime": 30,
  "NotifyUploading": true,
  "NotifyCommand": "",
  "ClipboardTime": 5,
  "SaveFolder": ".local/share/sharenix",
  "OrganizedFolders": false,

  "Services": [
    {
      "Name": "uguu.se",
      "RequestType": "POST",
      "RequestURL": "https://uguu.se/api.php?d=upload-tool",
      "FileFormName": "file"
    },
    {
      "Name": "sxcu.net - lucasp.reeee.ee",
      "DestinationType": "ImageUploader",
      "RequestURL": "https://lucasp.reeee.ee/upload",
      "FileFormName": "image",
      "URL": "$json:url$",
      "ThumbnailURL": "$json:thumb$",
      "DeletionURL": "$json:del_url$"
    }
  ]
}

The service does not have an outage at the moment.

add this line inside the sxcu block:
"RequestType": "POST",