1 Reply Latest reply on Mar 9, 2016 2:11 AM by arunkumar RSS
    arunkumar Explorer

    Invoking Service with POST in header is not working

    Hi,

     

    I'm using ThingWorx 6.5.0-b66. I guess with this version, we no more required to mention POST in query parameter.

     

    But mentioning the POST method in header doesn't work;

       > curl -X POST -u username:password "http://localhost/Thingworx/Things/TestDataTable/Services/TestService?Accept=application/json"

     

    However, it only works when I mention in query parameter as shown below:

       > curl -X GET -u username:password "http://localhost/Thingworx/Things/TestDataTable/Services/TestService?method=post&Accept=application/json"


    Regards

    Arunkumar D