AFN 报错 Invalid parameter not satisfying: URLString

url = http://xxxxxxxx/HXTAPPPWebs.ashx?ServerType=A06&Goods={

"UserID" : "47",

"GoodsNo" : "005",

"GoodsAmmount" : "10",

"GoodsQty" : "2",

"GoodsSize" : "",

"UnitPrice" : "9.390000000000001",

"GoodsColor" : ""

}

解决:编码问题

addShoppingCartUrlStr = [addShoppingCartUrlStrstringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

你可能感兴趣的:(AFN 报错 Invalid parameter not satisfying: URLString)