开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜