0 Replies Latest reply on May 25, 2015 11:52 AM by Simon Collins

    Trouble Extracting content disposition values from POST

    Simon Collins

      I'm using ORDS to integrate with jQuery File loader which is working well apart from I can't seem to work out how to get the filename from the data posted

       

      I'm using a custom PL/SQL POST method

       

      The data I need is in the content-disposition header in the payload (see below) and therefore I can't map this as a header bind variable. The :body doesn't seem to contain anything than the actual image blob

       

      1. ------WebKitFormBoundaryRzz61jkNKjoO8NWP Content-Disposition: form-data; name="files[]"; filename="IMG_2460.JPG" Content-Type: image/jpeg ------WebKitFormBoundaryRzz61jkNKjoO8NWP--

       

      Any ideas how I can get this data?

       

      Thanks

       

      Simon