parameter value from request body not receiving to third party service

parameter value from request body not receiving to third party service

  

Consumed Post REST request gets received to Server. But parameter value from request body not getting received to service. I have tried to pass in
 individual parameter and all parameters in format like json  in  request body and kept request type Form URL Encoded for service , which is need. but no success.

HI Sagar ,

Is it possible for you to share the rest service url ..just wanted to consumed and see what exactly is going over in the request .

Also send your request json.

Regards

-PJ-

Hi Sagar,

Have you tried debugging the REST API to see what's going on? See my post here for a quick primer on how to set the debugging level to Full.

Sagar,

Provide more details about your REST API to assist you better. 

Solution

i was passing request body in form of -

param1:xx
param2:xx

which i sent from postman and it was working for third party api but not for outsystem rest but,

After viewing logs for the same through exposing api ,  I got this for passed parameters in above form

param1=xx&param2=xx

So I passed like above to consumed api and it works !! Thanks to all for replying.


Solution