Updated sample and README to match ShareX v14 formatting

pull/138/head
tycrek 2 years ago
parent af2ad2c144
commit 8653598b0b
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

10
.github/README.md vendored

@ -226,11 +226,11 @@ In your Cloudflare DNS dashboard, set your domain/subdomain to **DNS Only** if y
- Name: `Authorization`
- Value: (the value provided by `npm start` on first run)
5. **Response** tab:
- URL: `$json:.resource$`
- Thumbnail: `$json:.thumbnail$`
- Deletion URL: `$json:.delete$`
- Error message: `$response$`
- MagicCap users: **do not** include the `.` in the above (i.e. `$json:resource$`)
- URL: `{json:.resource}`
- Thumbnail: `{json:.thumbnail}`
- Deletion URL: `{json:.delete}`
- Error message: `{response}`
- MagicCap users: **do not** include the `.` in the above & replace `{}` with `$` (i.e. `$json:resource$`)
6. The file `sample_config.sxcu` can also be modified & imported to suit your needs
### Header overrides

@ -1,5 +1,5 @@
{
"Version": "13.4.0",
"Version": "14.0.1",
"Name": "ass",
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"RequestMethod": "POST",
@ -9,8 +9,8 @@
},
"Body": "MultipartFormData",
"FileFormName": "file",
"URL": "$json:.resource$",
"ThumbnailURL": "$json:.thumbnail$",
"DeletionURL": "$json:.delete$",
"ErrorMessage": "$response$"
"URL": "{json:.resource}",
"ThumbnailURL": "{json:.thumbnail}",
"DeletionURL": "{json:.delete}",
"ErrorMessage": "{response}"
}
Loading…
Cancel
Save