cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How do i invoke a service via ReST on Thingworx 6.5.xxxxx

rtaylor-3
1-Newbie

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

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 :

Postman.png

That was it!

Thanks.

Top Tags