0

我正在发送一个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
4

0 回答 0