mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
parent
2786ef0259
commit
d0c4a6bdf1
3 changed files with 24 additions and 6 deletions
|
|
@ -77,7 +77,7 @@ const Curl = {
|
|||
// Create post data.
|
||||
let postData = [];
|
||||
if (utils.isUrlEncodedRequest(data) ||
|
||||
["PUT", "POST"].includes(data.method)) {
|
||||
["PUT", "POST", "PATCH"].includes(data.method)) {
|
||||
postDataText = data.postDataText;
|
||||
postData.push("--data");
|
||||
postData.push(escapeString(utils.writePostDataTextParams(postDataText)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue