Wednesday, 21 August 2013

Android annotations REST send image

Android annotations REST send image

I use android annotations to communicate with the server. In one of the
api calls I need to send some text data and an image, say, from gallery.
@Post("/items/addItem.php")
String addItem(Protocol protocol);
How do I attach a MultipartForm with an image along with the post request?

No comments:

Post a Comment