From 9d9f5b3a69bd603cfdf633ee8455f9cc3a6c319c Mon Sep 17 00:00:00 2001 From: ZizzyDizzyMC Date: Sun, 21 Feb 2021 00:45:07 -0500 Subject: [PATCH] Deletion via GET request (URL) is now possible. This enables better compatibility with ShareX, an open source screenshot tool. --- put.icu.sxcu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/put.icu.sxcu b/put.icu.sxcu index 99fa524..f30b2aa 100644 --- a/put.icu.sxcu +++ b/put.icu.sxcu @@ -4,8 +4,10 @@ "RequestMethod": "PUT", "RequestURL": "https://put.icu/upload/", "Headers": { + "Linx-Delete-Key": "testkey", "Accept": "application/json" }, "Body": "Binary", - "URL": "$json:url$" + "URL": "$json:url$", + "DeletionURL": "https://put.icu/delete/$json:filename$?linx-delete-key=$json:delete_key$" } \ No newline at end of file