HTTP - GET, POST, PUT and DELETE

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?

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

Similar Messages

  • RESTful service with POST, GET, PUT and DELETE

    I'm implementing a RESTful service, but mod_plsql only gives me GET, POST and HEAD commands.
    However, if I try to use the PUT command, the response is:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>501 Method Not Implemented</TITLE>
    </HEAD><BODY>
    <H1>Method Not Implemented</H1>
    PUT to *** not supported.<P>
    mod_plsql: request method not supported<P>
    <HR>
    <ADDRESS>Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at *** Port 80</ADDRESS>
    </BODY></HTML>Is it possible to add support for PUT and DELETE in mod_plsql?
    I've search all packages and code, but I haven't found anything that specifies the valid HTTP commands or the source for generating the above error message.

    AIR supports all the specified HTTP methods, but there seems to be a bug in the HTTPService class. Instead you should use URLLoader and URLRequest. If you change to that you won't even need to use the Method Override header.
    Read more here : http://spy6.blogspot.com/2009/06/adobe-air-put-delete-head-http-methods.html .

  • Disable PUT and DELETE HTTP methods in Sun ONE Web Server 6.1

    Hello ,
    i want disable PUT and DELETE methods in SunOne 6.1 , i don't find the solution ...
    Thnaks to help me .
    telnet www.mywebsite.com 80
    Trying 145.248.193.13...
    Connected to www.mywebsite.com.
    Escape character is '^]'.
    OPTIONS * HTTP/1.0
    HTTP/1.1 200 OK
    Server: Sun-ONE-Web-Server/6.1
    Date: Wed, 18 Jan 2006 08:07:41 GMT
    Content-length: 0
    Allow: HEAD, GET, PUT, POST, DELETE, TRACE, OPTIONS, MOVE, INDEX, MKDIR, RMDIR
    Connection: close

    are you sure that it isn't a vulnerability ? if i understand you , OPTIONS * HTTP/1.0 list all the possible methods but they are not actived ?
    i have test with OPTIONS / HTTP/1.0 , is that the those possible methods : HEAD , GET ??
    thanks
    telnet www.mywebsite.com 80
    Trying 145.248.193.13...
    Connected to www.mywebsite.com.
    Escape character is '^]'.
    OPTIONS / HTTP/1.0
    HTTP/1.1 200 OK
    Server: Sun-ONE-Web-Server/6.1
    Date: Wed, 18 Jan 2006 11:11:07 GMT
    Content-length: 0
    Allow: HEAD, GET
    Connection: close

  • [svn:bz-trunk] 7494: Add testcaseses for http put and delete methods.

    Revision: 7494
    Author:   [email protected]
    Date:     2009-06-02 13:13:33 -0700 (Tue, 02 Jun 2009)
    Log Message:
    Add testcaseses for http put and delete methods. Proxy should return endpoint's content instead of empty body
    Added Paths:
        blazeds/trunk/qa/apps/qa-regress/remote/testMethods.jsp
        blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/bugs/Pu tAndDeleteMethodTests.mxml

    found it - here: http://discussions.apple.com/thread.jspa?threadID=2323131&tstart=30
    I set the Realm to Location instead of Folder. Now I'm prompted for my credentials at the /svn/ URL.

  • I am roaming in St Thomas and when I get a text and delete it it keeps coming back no matter what I try, I am roaming in St Thomas and when I get a text and delete it it keeps coming back no matter what I try

    In roaming in St Thomas
    When I get a text and delete it, it continues to be sent to me every few minutes
    Tried everything

    Purchases will always download to the computer you are making the purchase from. However, you can set iTunes to automatically sync those purchases to one central comptuer, in your case your home server, so that the purchases will be available to all computers and devices on the network using Home Sharing.
    Home Share Sync
    Make sure Home Sharing is turned on and working between both computers. Home Sharing is turned on when your can see the name of the other computer in the sidebar of the iTunes window. The icon will look like a house with a musical note on the side. On the computer that will act as the central home server select on of the other Home Share computers in the sidebar then click on the 'Settings…' button on the bottom right-hand side of the iTunes window. In the 'Home Sharing Settings' dialogue box put a checkmark in the box for each type of media you want to have synced between computers. iTunes needs to be running on both computers for the sync to occur. If iTunes is not running at the time of the purchase, sync will occur the next time iTunes is running and can connect to the other computer.
    Automatic Store Downloads
    On the computer that will act as the central home server go to the iTunes preference panel and select Store on the toolbar. Put a checkmark in the box for the the media types you want to have automatically downloaded from the iTunes Store. Whenever purchases occur on any computer or device with the same iTunes Store account iTunes will automatically download the media to that computer. This method only works for Music, App and Book purchases.

  • HttpService Put and Delete methods support

    Hello,
    HttpService doesn't seem to be supporting PUT and DELETE methods. The trick of using "X-HTTP-Method-Override" did send the request as PUT/DELETE request. But the server side code is unable to detect it as PUT/DELETE request. The server side code is in PHP and uses FuelPHP Framework. 
    Can anyone please suggest a way by which the request can be sent as PUT/DELETE such that it can be identified as same PUT/Delete request.
    Thanks

    Q 1 and 2 : http://blogs.sun.com/meena/entry/disabling_trace_in_sun_java
    About Q 3 ciphers which version of WebServer are you using?

  • When I go to delete messages on iPad 2, I hit edit but get archive sometimes and delete at other times. How can I get just delete.

    When viewing mail am having trouble deleting old mail. I hit edit bit get archive sometimes and delete at other times. Is there a way to just delete?

    You need to be more accurate in the questions you're asking. I can't see your machine nor read your mind, so you have to allow for my limitations.
    Can I get rid of the "extra" versions?
    What extra versions? Are you sure these psd files are actually there?
    Do I need it on the computer in all of those versions?
    Need what?
    If not, how do I go about downsizing that outside of deleting the actual photo? 
    Downsizing what?
    but is there a way to downsize the actual file or are all of those formats standard to the image?
    What formats?  What image?
    Here's something I can help with:
    We plan on moving older photos to an external hard drive
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    Now you have two full versions of the Library.
    3. On the Internal library, trash the Events you don't want there
    Now you have a full copy of the Library on the External and a smaller subset on the Internal
    Some Notes:
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    You can choose which Library to open: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    You can keep the Library on the external updated with new imports using iPhoto Library Manager

  • PUT and DELETE in Flash AS3

    I am working on the Google Calendar API which has been built for Flex/AIR. In the API, for performing a Delete or Update operation, it uses DELETE or PUT methods in the URLRequest. But I think these being REST based calls are supported in AIR.
    I am using this API in a Flash/AS3 application and have successfully implemented the Update functionality by using X-HTTP-Method-Override method for PUT and instead using POST, which is supported in Flash. But when I try to do the same thing for Delete method, I get a 401 error in the API call.
    Any idea how this problem could be solved?

    AIR supports all the specified HTTP methods, but there seems to be a bug in the HTTPService class. Instead you should use URLLoader and URLRequest. If you change to that you won't even need to use the Method Override header.
    Read more here : http://spy6.blogspot.com/2009/06/adobe-air-put-delete-head-http-methods.html .

  • HTTP GET/POST Queue

    Hello,
    I was trying to Performance Monitor Tool for measuring the performance of
    WebLogic 5.1 Server which is hosting
    my Web Application. My interest was to primarily record the HTTP GET and
    POST requests processed by the WebServer and the number of pending HTPP
    requests etc. But the Performance Monitor is not able to capture this info.
    It can find the information for IIS Server running on my machine but not for
    WebLogic server running on Port 80. Is there any other tool which can be
    used
    for obtaining the data mentioned above
    Thanks
    Sandeep
    This e-mail communication and any attachments are privileged and
    confidential and intended only for the use of the recipients named above.
    If you are not the intended recipient, please do not review, disclose,
    disseminate, distribute or copy this e-mail and attachments. If you have
    received this communication in error, please notify the sender immediately
    by email or telephone at +91-20-2906286.

    By Performance Monitor Tool I meant the perfmon.exe which is available with
    the WINNT installation.
    Sandeep
    "Sandeep Rajpathak" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    I was trying to Performance Monitor Tool for measuring the performance of
    WebLogic 5.1 Server which is hosting
    my Web Application. My interest was to primarily record the HTTP GET and
    POST requests processed by the WebServer and the number of pending HTPP
    requests etc. But the Performance Monitor is not able to capture thisinfo.
    It can find the information for IIS Server running on my machine but notfor
    WebLogic server running on Port 80. Is there any other tool which can be
    used
    for obtaining the data mentioned above
    Thanks
    Sandeep

  • HTTP GET/POST: J2EE Design Strategy w.r.t servlet implementation

    I am in process of designing a J2EE application with browser interface. I have thought of having "Front Controller" Servlet for all HTTP-GET requests and "Action Controller" servlet for all HTTP-POST requests.
    I have worked this distinction on the basis that GET request maps directly to page being requested and POST request corresponds to action being performed on some page. Here in fact the design is driven by appropriate selection between GET or POST. So all possible requests on the site should get properly mapped to action or page.
    Decision of two servlets is merely to divide the load on single servlet. There being well defined logical (page and action) and implementation (GET/POST) boundary, the division seems workable.
    Before actually finalizing this decision I need to know any inputs (pros and cons) of this approach.
    Further If I start mapping to actual scenerios,
    Request for home page,
    Request from HREFs,
    Request where new transaction is started
    will always be GET Requests.
    However what about request method (POST or GET) for update employee profile page when emp. id is available already available on first page ??
    And further
    Is this GET/POST divison always possible ??
    Any constraints that any one can see in this mapping ??
    Any comments on the update employee profile scenerio - GET/POST - page/action ??
    PS: Pl. discard error scenerios for the moment.

    how would you direct the GET requests to one servlet and the POST requests to the other?
    Wouldn't they need to pass thru' yet another servlet to decide which is which (GET or POST), and redirect them accordingly?
    I would have both GET and POST handled by the same single-point-of-entry servlet. For example, not all data is sent to the server via a POST - you can send form data via a GET, using name/value pairs in the url.

  • Newbie: does Oracle BPEL Process Manager support http-get/post binding?

    Hi all,
    i'm a newbie in using bpel4ws. Two things i must know before using the Oracle BPEL Process Manager:
    1. Does the manager support the sub-specification bpel4ws?
    2. I want to orchestrate some services which aren't binded using http-SOAP or rpc. They are binded using http-GET and http-POST. Does the manager support these bindings too?

    Hi Clemens,
    thanks for answering.
    Ähhm... as i told you, i'm newbie here. I searched for the content of
    samples/tutorials/702.bindings/http
    But i'm afraid i don't know where to start. Its no URL and i didn't find the source of this path. Can you add the full URL or tell me how to get to the source of these samples?
    thanks
    Albrecht

  • Http: get post. HELP!!!

    I'm trying to write a program to transfer files over "https" using "GET" & "POST", but I do not know where to start from, like which java packages to use, sample programs etc.
    Any pointers would be most helpful.
    Thanks a lot in advance.

    You're wanting to write a servlet. The package for servlets is javax.servlet and javax.servlet.http. There is no difference in accessing a servlet with https.
    You can find a good reference implementation of the servlet code on Apache's Tomcat.

  • HTTP GET/POST method support in ESB/BPEL

    hi,
    I want to call HTTP URL using GET/POST method from ESB or BPEL. Can you please tell me how this can be achieved?
    Thanks,
    Vaibhav

    how would you direct the GET requests to one servlet and the POST requests to the other?
    Wouldn't they need to pass thru' yet another servlet to decide which is which (GET or POST), and redirect them accordingly?
    I would have both GET and POST handled by the same single-point-of-entry servlet. For example, not all data is sent to the server via a POST - you can send form data via a GET, using name/value pairs in the url.

  • Obtaining custom HTTP GET / POST parameters of variable length in Application Process

    Hi, I'm trying to connect a javascript UI control within my page to an APEX Application Process.
    The control calls the application process via AJAX and appends a variable number of GET / POST parameters to its URL.
    What is the best way to obtain these parameters from within the PLSQL procedure of the process? Or is there a better way to connect my javascript AJAX control to the Database behind my APEX app?
    Thanks,
    Steffi

    Steffi,
    I'm using APEX 4.1 and I've not used Treegrid before. It does look pretty interesting.
    Firstly, I'm not sure if you are aware but GET requests aren't as secure as POST requests. GET simply appends a key/value pair to the server as part of the url which can be easily sniffed. POST request on the other hand sends the data as key/value pairs to the server in the header which makes it harder to intercept.  This is why APEX outputs forms with POST methods.
    Secondly, back to your original question.I'm not sure this is possible with an Application Process. In the passed I've used POST methods to pass values to my Application Process. I have some code using native jQuery if you would like to see how its done. Alternatively, if you convert your application process to a standard pl/sql procedure (i.e SQL Workshop>Object Browser>Procedures) you can call this procedure and pass in values as you would with any PHP page.
    Simple example (untested)
    CREATE OR REPLACE PROCEDURE  "foo" ( my_name varchar(20)  
         , count NUMBER)
    IS  
         p_name varchar(20) := my_name;
         p_count NUMBER     := count;
    BEGIN
    --Do what you want
    --output something
       htp.p(p_count || '.: '|| p_name);
    END;
    The url on the page (or ajax call) would be something like "/pls/apex/{MY SCHEMA}.foo?my_name=Alistair&count=1"
    Of course for text you will need to escape single colons and special characters etc.
    I would really like to help you further so if you could create a working demo using a free workspace on http://www.apex.oracle.com and provide me with demo username/password. I can try and have a better look for you.
    In all honesty, I'm sure you would be looking to create this as a plugin so that you can easily reuse it in various parts of your application and can easily update it or maintain it. I can help you with that as well if you want.
    Alistair
    P.S You might want to update your profile on this forum to provide your name so people dont just see "31742965-2d09-4f42-849f-e39eb2cfbc9e" your profile name

  • Iis't true about disable put and delete and trace in weblogic?

    i want to known how the http method(put ,delete and trace ) is working in weblogic?

    Hi,
    Enable following parameter
    -DHttpTraceSupportEnabled=true
    and trace your Http Method.
    Regards,
    kal

Maybe you are looking for

  • Reader 9.3 MUI ACW-built package causes client to stop receiving add'l advertisements

    Send out an Adobe Reader 9.3 Advertisement via Microsoft's SCCM - And after it successfully installed, no successive advertisements will ever be received by that client. I posted some details of this case in the Native Mode forum, but I've since narr

  • How can I sort two columns?

    I've got two columns of text (names of people, actually) in a Numbers spreadsheet. I've selected all the cells and made sure they are "text" format. I cannot figure out how to sort (alphabetically) the two columns independent of one another. I just w

  • Delete/Erasing shows from my AppleTV?  How does memory work?

    I am completely confused as to deleteing material and freeing up memory as well as how things will automatically delete. When I have shows listed in my menus (My TVshows, My Movies)  sometimes there is a little trash can next to them to erase, and ot

  • Can I de-compile Air to work on an Android phone without installing the Adobe Air player?

    I have created an android app in FLASH, I would like to test it on my phone however, it does not support the Air player! Is there a way to de-compile the files so that the app will work on an android phone without having to run Adobes Air player? tha

  • How to diplay something on image

    Hi, I am new to java and swings... I want to draw something on image.. I have created a JFrame which has: a image 400*400 three checkboxes naming point and circle... and a submit button.. I want to show points on image with a 'dot' at (10,10), (40,69