Sending and receiving JSON over HTTP
Posted: Tue Mar 14, 2017 11:40 pm
I hope to get some help with sending and receiving JSON over HTTP.
I am again struggling with the examples and documentation, so I need help to understand how I am supposed to do this.
The task I have is to send some JSON to a RESTful webservice and in the process receive some JSON back.
I know I can use the JSMX commands to load an HTTPSERVICE and send a request with the appropriate headers to the right URL.
But how do I send some JSON with that request?
And how do I receive and parse the JSON that I will receive in the response?
Do I create an Integrator JSON Binding Wizard solution for each of these? And how do I bind them to the HTTP request?
I am again struggling with the examples and documentation, so I need help to understand how I am supposed to do this.
The task I have is to send some JSON to a RESTful webservice and in the process receive some JSON back.
I know I can use the JSMX commands to load an HTTPSERVICE and send a request with the appropriate headers to the right URL.
But how do I send some JSON with that request?
And how do I receive and parse the JSON that I will receive in the response?
Do I create an Integrator JSON Binding Wizard solution for each of these? And how do I bind them to the HTTP request?