How do i invoke a service via ReST on Thingworx 6.5.xxxxx
‎Oct 16, 2015
10:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Oct 16, 2015
10:28 AM
How do i invoke a service via ReST on Thingworx 6.5.xxxxx
I'm using Thingworx 6.5 and am trying to invoke a service using Postman.
url: http://10.0.0.20:8081/Thingworx/Things/SecurityMonitor/Services/GetDescription
method: POST
headers:
- appKey: xxxxxxxxxxxx
- Accept: application/json-compressed
- Content-Type: application/json-compressed
I've associated my appKey to Administrator account in Thingworx
I keep getting a 403 error
Not sure what I'm doing wrong.
2 REPLIES 2
‎Oct 19, 2015
06:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Oct 19, 2015
06:17 AM
Hi
It doesn't like the Content-Type: application/json-compressed. It should work if you change it to "application/json".
Here's a screen-shot of my working configuration, appKey redacted :
‎Oct 20, 2015
09:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Oct 20, 2015
09:42 AM
That was it!
Thanks.