In my iPhone application I am making some web service calls using JSON
. In the return data i am getting a status code (200, 404 etc), along with that they are sending a message.
Here is the result what I got in Rest client:
Status Code: 401 Invalid Access token
Cache-Control: private
Connection: Keep-Alive, Proxy-Support
Content-Length: 0
Date: Wed, 13 Mar 2013 06:37:26 GMT
Proxy-Support: Session-Based-Authentication
Server: Microsoft-IIS/7.5
Via: 1.1 WIN-JO3AMACI965
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
In this, I want to get the message "Invalid Access token" along with the status code 401. Is it possible?
Thanks in advance.