Reputation: 715
Maybe the question is stupid but I do it anyway :)
I would like to write into a azure storage table by client side (JavaScript), is that possible?
Upvotes: 4
Views: 955
Reputation: 389
At the BUILD conference, Windows Azure Storage announced support for JSON and CORS coming by the end of 2013. This will make it easy to access your table storage account directly from JavaScript code to read and write data.
In the meantime, you can create a small web service that you call from your JavaScript code to access your table storage account.
Upvotes: 1
Reputation: 4318
Right now my workaround is to write services in Java/Jersey that talk to Azure table services. Jersey supports CORS so I can access the services through javascript easily.
The big problem with accessing any REST service from Javascript is security. It should be okay for public services though.
Upvotes: 1