Register / Login
Setting response in body
posted 4 years ago
I need one help in my current development one of the requirement says:
The server will return 200-OK as a response(httpresponse).
If the panelist is verified then as a result,
the server must also return the panelist id of this panelist.
The server will place the panelist id inside the body of the 200-OK response in the following way:
<tdcp> <cmd> <ack cmd=”Init”> <panelistid>3849303</panelistid> </ack> </cmd> </tdcp>
Now what I can able to do is I can put the httpresponse as
And I can put
responseToClient= "<tdcp><cmd><ack cmd=”Init”><panelistid>3849303</panelistid></ack></cmd></tdcp>";
Now what does putting the above xml inside the body of 200-OK response mean??
and how it can be achieved.
Please help me thanks in advance
Controller redirect to another Controller?
Respond to 3rd party requests
@Responsebody for HTTP msg and a View to show the HTTP response msg
Do I need a separate Web Client?