wireload / Ratatosk

Ratatosk is a Cappuccino remote object proxy for RESTful JSON based APIs.
BSD 3-Clause "New" or "Revised" License
38 stars 14 forks source link

support for file uploads ? #4

Closed raresp closed 11 years ago

raresp commented 12 years ago

Hi,

I have been experimenting with Ratatosk. Many thanks for your work. What would your recommendation for handling file uploads? Assuming I have an WLRemoteObject subclass what would be the best way to add a binary attachment to it ?

Thanks, Rares

aljungberg commented 11 years ago

Sorry, didn't see this issue before. File uploads can't be made using an AJAX request without also having the HTML5 File API which is not generally available.

For now to upload files you'll probably want FileUpload.j. You can still use Ratatosk to handle the meta data surrounding the file.