I have a web service in Rails that, among all the others, should provide file upload functions to clients. Customers use JSON to communicate with the web service. I am using the Paperclip plugin to manage downloads.
The problem is that I do not know how to upload a file via JSON. Everything works in a web form, but I can not find information on how to consult my JSON request for sending files to the server. Can anyone help?
Regards, Angel of Kapazov
source share