how can I use actionwebservice to transfer an image to the client
Actionwebservice seems to be a generic web-service infrastructure for rails. Is it p开发者_开发技巧ossible to use this gem to pass image from server to the client and how to do that?
Thank you.
Finally, I find a workaround my self. Take a image file for example, you can use send_file to send the file to the browser, or you can send out the link to the resource to the client. Then the client could use the direct link to access the resource by a standard HTTP GET.
精彩评论