MKNetworkOperation *op = [self operationWithPath:@"thestore/services/storeservice.svc/getfavorites" params:fetchedObjects httpMethod:@"POST"];
fetechedObjects 是一个数组。我可以遍历数组以获取需要放入 POST 请求正文的值
[
{
"id": 9222,
"latitude": 19.7897,
"longitude": -64.0208
},
{
"id": 7832,
"latitude": 79.7713,
"longitude": -44.1084
}
]
但我不知道如何使用 MKNetworkOperation