iPhone photo app communication with Rails server -



iPhone photo app communication with Rails server -

i building iphone app uploads/downloads photos rails server. how should transfer photos to/from rails server iphone? should utilize json? rails app supports restful architecture. pointers examples help.

i did similar, , suggest using asihttp on iphone side, communicating rails app.

here how utilize asihttp: http://allseeing-i.com/asihttprequest/how-to-use

pay special attending section "sending form post asiformdatarequest"

you can attach photos (or file, really) saying

[request setfile:@"photo.jpg" forkey:@"photo"]

then can access/manipulate on rails side through params

iphone ruby-on-rails json image

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -