Json post call setup
Confluence User - 19 Mar, 2020
Hi - I am working with the json tool and want to make a post call. in an external tool (postman) I was able to make a successful call by setting up the following example:
Example URI
POST www,someapi.com/AjeraAPI.ashx?ew0KICAiRGF0YWJhc2VOYW1lIjogIkFqZXJhX01haW4iDQp9
and using a raw structure as the body of the call:
{
Method: "CreateAPISession",
Username: "janedoe",
Password: "j@ned0e",
APIVersion: 1,
UseSessionCookie: false
}
so this returns the token.... my question is how do I setup the json tool in joget with the setting in body?
json;api