RestKit/RestKit — Issue #420: upload image attached to my core data model
Author: jayztemplier
Created: 2011-10-26 15:34:30+00:00
State: open

Hi !
I'm trying to post a new Item, which is a NSManagedObject, to my rails app.
By reading this post : https://github.com/RestKit/RestKit/issues/263 , i tried to do this :
https://gist.github.com/640891fb19b9b7bf7f48

But the server doesn't receive the param "item[image]" ... and logs are :

[24819:15503] RKParams HTTPHeaderValueForContentType = multipart/form-data; boundary=0xKhTmLbOuNdArY
[24819:15503] RKParams HTTPHeaderValueForContentLength = 0

Please help me ...
Thank you in advance !