cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to call Webservice using Javascript of AppGiver (without destination)?

RamaniNagarajan
Explorer
0 Likes
358

Hi Friends,

Currently I have a OData Service which is working fine in Postman when tested.  Also I am able to call this service directly in Business Process Automation using JavaScript step without any destination.   

The input payload for execution is:

Payload Info:

var url = "https://jsonplaceholder.typicode.com/posts/1" // a sample url 
{ method: 'GET', 
  url: url, 
  headers: { 'Content-Type': 'application/json'}
}

And this work good & perfectly also.

Now I would like to call the same service using BTP Build App using JavaScript step.  I tried many ways.  But unlucky.

Can any one help me on this for the payload given able please?  

Thanks,

Ramani Nagarajan

 

 

Accepted Solutions (0)

Answers (0)