I have created one service which post/create resource data (JSON) in a thingworx data table. That means, POST request taking JSON data input.
My question is that, how can I create another GET service which just verifies this input on the client (POSTMAN)?
I need to test complete flow where posting data from client into a thingworx data table and using GET service to fetch same stored data on the client from the thingworx data table.
Any sample code for GET service would be helpful.
Thingworx doesn't expose a GET for DataTables, they will all be Services (like GetDataTableEntry or GetDataTableEntries) which must be executed with a POST.
Thanks Pai, I am able to execute custom service via POST method successfully.
I assume due to security reasons, GET is not supported for thingworx services (custom services as well).
Thingworx does have a switch to support that, however that is unsecure and puts you at risk of CRSF attacks, so best practice is to keep that disabled.