开发者

Does Flex 4 support put request?

Does Flex 4 supp开发者_如何学运维ort put request?

I know that Silverlight 4 support put request using its client http stack.


In action script 3 we can use put method using below API

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLRequestMethod.html

I have used it on desktop apps to upload images to Amazon S3. Since it need air it can be used only on desktop and not on web apps.


yes, it does. You have to set the 'method' attribute to "PUT".

i.e.:

s:HTTPRequest id="someID" method="PUT" ... 

For more information have look on the Reference-Lib

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜