Open
Description
Attempting to send a manual request using 'PATCH' method. The error returned states 'Unsupported Media Type'. As you can see from my code below, I'm sending a templated string as my body. Otherwise there is no other media.
const descr = folder_description: ${data.project_number} | ${data.project_stage.name.toUpperCase()}
;
egnyte.API.manual.sendRequest(
{
url: ${egn_url}/pubapi/v1/fs${path}
,
headers: {},
params: {},
method: "PATCH",
body: descr,
},
function (error) {
if (error === null) {
console.log("Description Updated.");
} else {
console.log(error);
}
});
Metadata
Metadata
Assignees
Labels
No labels
Activity