ios - RestKit doesn't like mapping a different object for a POST response -


I am using Restkit to post a type of object and the reaction should be an object of the object.

I have requested the correct answer and mapping, but the restqueter is complaining that he has found the objects of B. in place of A.

Since this is the behavior that I want, one way to say that restkit is fine and go ahead and map it to me?

You need to do some extra work to tell Restkit that the Object object of POST source object To do this, you need to type the zero to targetObject of the action requested (which means that there is clearly an operation in the first place). And after that it is encoding):

  RKManagedObjectRequestOperation * Operation = [ObjectMan Ready appropriate Objectoreksestopreshnvidth object: Objektotost method: Arkearkvenstmthipost path: @ "XXX" parameter: any Param]; Operation.targetObject = Zero; Operation.targetObjectID = Zero; [Object manager nuke object rescue operation: operation];    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -