This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I need to execute a POST (application/json) using a javascript

I am using the "Postman" and it works perfect, but you must translate this into a javascript inside Service Manager to get information.
The methods I need is a POST to get session-id and then a GET or PUT as needed.

in the "body", when I call the POST, it would be:

{
"email": "resapi@zzzzz.com",
"password": "xxxxxxx"
}

and the uri would be:

https://10.4.0.22/rest/session

Could someone help me with this?