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!

Maira S Beginner Asked on February 18, 2023 in SuiteCloud.
Add Comment
1 Answers

var headerObj ={};
headerObj[‘Content-type’] = ‘application/json’;
var response = https.post({
url: endPointURL,
body: JSON.stringify(obj),
headers: headerObj
});

Beginner Answered on February 22, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.