08-06-2010, 02:39 PM
[eluser]murphy2006[/eluser]
Hello,
I am using Phils RestClient to communicate with a REST-api.
How can I check what http code that the API sends back? For example 200 or 500?
I got the REST call in a model.
In short, how can I get http code and "transfer" it from the model to the controller?
Thankful for all help!
Hello,
I am using Phils RestClient to communicate with a REST-api.
How can I check what http code that the API sends back? For example 200 or 500?
I got the REST call in a model.
In short, how can I get http code and "transfer" it from the model to the controller?
Thankful for all help!