Marwan
04/26/2021, 10:46 AMhttps.requestRestlet
but it gives me an html response with code 500, and message An unexpected error has occurred. Please click here to notify support and provide your contact information.
I hate it when NS doesn't give a meaningful response message.
Did anyone tried this method before?
Here is my code:
var headers = {
Accept: "application/json",
};
var res = https.requestRestlet({
body: payload,
method: "POST",
headers: headers,
deploymentId: "customdeploy_edc_invoices_sync",
scriptId: 230,
});
battk
04/26/2021, 12:57 PMbattk
04/26/2021, 12:58 PMMarwan
04/26/2021, 12:58 PMMarwan
04/27/2021, 6:54 PM