Author Message
RajkumarBura
Joined: Apr 18, 2018
Messages: 10
Offline
I am trying to make a REST service call using POST method from Avaya OD's REST editor and want to know how to set the request parameters in json format. When adding each value using input parameters option, that data is going as part of URL. I want the input request to be part of the body in json format.
This is the first time I am trying REST service in OD, can you please help me with this issue? If possible can you please send a screenshot of an example where you pass request parameters in json format.
Thank you.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
Here is an example screen attached.
  • [Thumb - restsample.png]
[Disk] Download
ElectronicManitou
Joined: Nov 24, 2008
Messages: 14
Offline
Any way to use session variables in message body ?

-
EDIT: I figured it out:

JSON{"someVar": "someStaticValue","someVar1": "_{sessionVariableName}_"}

It schould be placed in developers guide.

Go to:   
Mobile view