i am sending an object to this adrees : https://sandbox.itunes.apple.com/verifyReceipt
with NSUrlconnection
and i am trying to read it with this delegate method :
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
like this :
NSlog(@"%@",response);
i am getting this code :
<NSHTTPURLResponse: 0x7d2c6c0>
i need to get a string somehow.
how can i read it?
I wrote this answer to another question, but I think it will help you. Have a look in particular at the methods
-(void) connection:(NSURLConnection *)connection didReceiveData:(NSData *)dataand
-(void) connectionDidFinishLoading:(NSURLConnection *)connection