Hi there,
I'm now at the stage that I want to add photo posting to my app,
however I am having some issues.
I've got the fully qualified path to the file, and I just tried this
off hand:
params = OAuth.newList("photo[body]", post_message, "photo[photo]",
filename);
However I didn't expect this to work, all I get is a 500 code back.
I found an example of posting files using standard Java here:
http://www.anddev.org/solved_http-post_request_to_restful_rails_web-application-t3655.html
but I cannot find how to add a InputStreamEntity to the parameters and
how to change the headers to support posting a file.
Any help would be appreciated, thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---