views:

167

answers:

1

I'm developing a Flash app that saves files to the Azure Blob Storage API.

I've learned that you should use the REST API directly rather than a go-between WCF service as this is the most efficient (using a web role is a bottleneck).

The problem is that Flash can't do PUT or DELETE methods over Http and has to use external Javascript.

This is not an area that I'm familiar with and need some advice/links to examples of using Javascript to work with the Storage API (I've obviously Googled this to no avail). Is this even possible? The Javascript would be hosted in a web role on the same domain.

Many thanks,

Ed

A: 

The problem is that Flash can't do PUT or DELETE methods over Http and has to use external Javascript.

Use AJAX? Why are you using Flash (that god-awful thing) anyway?

r = new XMLHttpRequest;
r.open('PUT', 'target', true);
r.send('......');
Delan Azabani
My question states that I want to use Ajax. The problem is I've got no idea where to start. There are lots of examples out there for using the StorageClient C# code, but none for Javascript it seems.
edsilv