Thursday, 15 September 2011

Json Parsing from NSURLResponse in IOS -



Json Parsing from NSURLResponse in IOS -

i getting response

<nshttpurlresponse: 0xa151d20> { url: http://abcdxyz/api } { status code: 200, headers { "content-length" = 0; "content-type" = "text/html;charset=utf-8"; date = "tue, 11 nov 2014 06:57:01 gmt"; server = "apache-coyote/1.1";

} }

now can u guys please help me hw json object response. thanks.

your code looks me (except you're making synchronous request, that's beside point here.) you're getting status code 200, means request successful. if didn't info expected in response, you'll need check documentation api see expected response should be. server returns simple "ok" -- pretty much you're getting.

if docs don't reply question, seek inquire knows particular web service.

ios json nshttpurlresponse

No comments:

Post a Comment