Actionwebservice seems to be a generic web-service infrastructure for rails.
Is it possible to use this gem to pass image from server to the client and how to do that?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.