From cf9a8bbfdf30961d1f0047badea35eb90c61d8c6 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Tue, 7 Jan 2025 18:34:43 -0600 Subject: [PATCH] form -> multipart --- extensions/godslayerakp/http.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/extensions/godslayerakp/http.js b/extensions/godslayerakp/http.js index b552c6560e..eb1a977492 100644 --- a/extensions/godslayerakp/http.js +++ b/extensions/godslayerakp/http.js @@ -388,7 +388,7 @@ { opcode: "setBodyToForm", blockType: BlockType.COMMAND, - text: Scratch.translate("set request body to a form"), + text: Scratch.translate("set request body to multipart form"), }, { opcode: "getFormProperty", @@ -399,7 +399,7 @@ defaultValue: "name", }, }, - text: Scratch.translate("[name] in request form"), + text: Scratch.translate("[name] in multipart form"), }, { opcode: "setFormProperty", @@ -414,7 +414,7 @@ defaultValue: "value", }, }, - text: Scratch.translate("set [name] to [value] in request form"), + text: Scratch.translate("set [name] to [value] in multipart form"), }, { opcode: "deleteFormProperty", @@ -425,7 +425,7 @@ defaultValue: "name", }, }, - text: Scratch.translate("delete [name] from request form"), + text: Scratch.translate("delete [name] from multipart form"), }, "---", { @@ -520,10 +520,11 @@ }, mimeType: { items: [ + "application/json", + "application/x-www-form-urlencoded", "application/javascript", "application/ogg", "application/pdf", - "application/json", "application/ld+json", "application/xml", "application/zip",