I'm sending a GET
request and my url is
http://myurl.com/addpla?name=JJ Burger &category=Delicatessen and Other &location=Sao jose do Rio Preto
(I did use NSLog
and it's correct)
but after
NSString *encodedURL = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
the url is:
http://myurl.com/addpla?name=JJ2urger0X1.8A1301528AP-685&category=Delicatessen0x1.8ac90146a39e1p-698nd2427076260ther0X1.442030000206P-1018&location=Sao1455040047316337024se0o2io¢e