2 Replies Latest reply on May 24, 2012 2:14 PM by FrédéricB

    apex listener - resource template - POST method

    FrédéricB
      Hello,

      Initially I created a sample ressource with a default GET method with a query on a table. I works nice with my EXTJS grid.
      In a second step, with the goal to cover all CRUD operation, I tried to implement the POST method. I created a simple PLSQL procedure with some IN parameters wich insert a new record.
      I declared the parameter in the ressource template also.
      I have not been able to make a POST. I tried all combinations, with the help of the excellent Firefox add-in RESTClient:
      - put the parameters in the URL
      - put the parameters in the body with different format (URI or JSON)
      I didn't found any example neither in APEX nor in raw HTTP nor in any other language.

      Your help would be valuable I am completely blocked

      Frédéric