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


Beginner Asked on February 18, 2023 in SuiteCloud.
Add Comment
1 Answer(s)

var headerObj ={};
headerObj[‘Content-type’] = ‘application/json’;
var response ={
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.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor