RE: How to call third party API using suitelet script 2.0
Hi all!
Anyone knows, how to call third party API using suitelet script? POST request. I will appreciate your help!
The third party application exposes their API’s in the form of –
http:// www........asmx url
Thanks!
var headerObj ={};
headerObj[‘Content-type’] = ‘application/json’;
var response = https.post({
url: endPointURL,
body: JSON.stringify(obj),
headers: headerObj
});