How to catch the answer from http server

Hi, I use the remote library to built json messages to send to a client server. This client response with a json message. My question is how to catch the answer sent by client, so I can test this in the robot test.
The architecture is: I have the test.robot calls remote library to sends the message to the client. I need to read the json message to test it.

Thank you a lot