Skip navigation
Currently Being Moderated

HTTP - GET, POST, PUT and DELETE

Sep 15, 2010 6:21 AM

Which of these are implemented and supported by Flex 4 and which from AiR 2 ?

Are there any libraries or other workarounds for non supported ones?

 
Replies
  • Currently Being Moderated
    Sep 15, 2010 6:24 AM   in reply to VirtualCoder

    All above methods are supported by flex

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 15, 2010 6:45 AM   in reply to VirtualCoder

    Hi,

      I have used ReST API for uploading files using PUT method without using any swc's.

    You just try it,

         URLRequestMethod.PUT (You can see the code hint which show the all above methods).

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 4:58 PM   in reply to VirtualCoder

    I just ran into this. No wonder Flash is dead.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 7:46 AM   in reply to Dutch_Mark

    I've spent many hours on this and here is the deal as I understand it.

     

    1) HttpService and HttpMultiService claim to support PUT and DELETE in the docs, but that only applies via a server proxy even in AIR

    2) flash.net.URLRequest supports PUT and DELETE from AIR without a proxy, but not in the browser. I understand FlashPlayer works through the browsers network connection, so cannot support PUT and DELETE when the browser doesn't

    3) as3httpclientlib has been working fine for me for development in AIR on MacOS with HTTPS Basic Authentication, but failing with an encryption issue in my iPad app. I haven't solved this, and am switching to URLRequest. There was a showstopping limitation (bug FP-6) in FlashPlayer that prevented as3httpclientlib from reliably doing large uploads. The limitation has been addressed in recent versions of AIR and Flashplayer, but as3httpclientlib hasn't been updated to take advantage of it

    4) Checkout as3awss3lib - it does PUT and DELETE with URLRequest

     

    Cheers,

     

    Gary

    blog.buzzware.com.au

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points