我正在发送GET
个请求,我的网址是
http://myurl.com/addpla?name=JJ Burger &category=Delicatessen and Other &location=Sao jose do Rio Preto
(我确实使用了NSLog
,这是正确的)
但是
之后NSString *encodedURL = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
网址是:
http://myurl.com/addpla?name=JJ2urger0X1.8A1301528AP-685&category=Delicatessen0x1.8ac90146a39e1p-698nd2427076260ther0X1.442030000206P-1018&location=Sao1455040047316337024se0o2io¢e