Simple REST API update with Postman
Hello,
I am new with ThingWorx and I am trying to update a property Thing on a Mashup with Postman.
(I just want to see a value change on my webpage).
To do this, I have:
- created a Thing "Ju_TestThing" (ThingTemplate : GenericThing) with a property "Ju_value" (Base type : TEXT), default value=10.
- created a Mashup "Ju_TestMashup"
- added a label on the Mashup and connected "Ju_value" to my label with "GetPropertyValues".
- added a "Auto Refresh" widget (interval : 2s)
In System / Subsystems / PlatformSubsystem / Configuration, I have checked "Allow Request Method Switch" and unchecked "Filter Content-Type".
When I click on "View Mashup", it opens a new window with URL like this:
Question : Is the end of the URL my appKey ?
In Postman:
- set PUT
- set URL : http://pp-XXXXXXXXXXlu.devportal.ptc.io/Thingworx/Things/Ju_TestThing/Properties/*
- add header "Content-Type" and "Accept" with value "application/json"
- add header "appKey" with value "112c786d-7cd1-4aa0-826b-db2d9b2324de"
- add body : {"Ju_value":30}
The result is "405 not allowed".
I have tested many others URLs, headers, body, ... each time the result is "405 not allowed".
I have read "REST API Overview and Example" but I still don't understand.
Thanks for your help.

