I want to send as an object as json
HTTP Headers: {
"Content-Length" = 24;
"Content-Type" = "application/json";
}
HTTP Body: {"userId":"5","mode":""}.
and get back a json
HTTP Headers: {
"Content-Type" = "application/json";
}
HTTP Body: {"insertCount":4,"offerCount":0,"favoriteOfferCount":0,"favoriteInsertCount":0}
and map it to an object, can anyone guide me as i’m getting many errors involving routers,object loader etc
I understand that i have to use RKObjectManager’s postObject:mapResponseWith:delegate:
but configuring it is confusing.
never mind here’s how i did it