Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsonpath not found

DRSchlaubi opened this issue · comments

When I try to upload anything to https://github.com/diced/zipline i get a jsonpath not found error, the same config works fine using ShareX on my Windows machine

The API responds with {"files":["http://rice.by.devs-from.asia/u/oxNz7s.png"],"url":"http://rice.by.devs-from.asia/u/oxNz7s.png"}

{
        "Version": "13.2.1",
        "Name": "rice",
        "DestinationType": "ImageUploader, TextUploader",
        "RequestMethod": "POST",
        "RequestURL": "https://rice.by.devs-from.asia/api/upload",
        "Headers": {
                "Authorization": "x"
        },
        "URL": "$json:url$",
        "Body": "MultipartFormData",
        "FileFormName": "file"
}```
commented

Started having the same issue with https://github.com/Senither/ShareX-Media-Server

My config

    {
        "Version": "13.1.0",
        "Name": "my_domain.tld",
        "DestinationType": "ImageUploader",
        "RequestMethod": "POST",
        "RequestURL": "https://my_domain.tld/api/images",
        "Headers":
        {
          "Authorization": "Bearer <my token>",
          "Accept": "application/json"
        },
        "Body": "MultipartFormData",
        "FileFormName": "image",
        "URL": "$json:resource_url$"
    }