0 Replies Latest reply on Oct 21, 2015 11:39 AM by Aleksey Movchanyuk

    Get value from customized HTTP header request

    Aleksey Movchanyuk

      For example I have the following URI: https://<host>:<port>/ords/resteasy/products/product

      And I want to get product specification by ID but I don't want to change my URI to https://<host>:<port>/ords/resteasy/products/product/{ID} instead of this I want to send ID in header.

      Like this:

      HeaderValue
      ID1234


      Is it possible to get value of ID from HTTP Header request and use it in the SQL request, for example:


      SELECT * FROM PRODUCTS WHERE PROD_ID = :ID
      

       

       

      Oracle Database 11.1.2

      ORDS 3.0.1

       

      Kind Regards

      Aleksey