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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Access to the specified resource has been forbidden. I try connect REST to Thingworx with POSTMAN:https://aca-uef.elisaiot.com/Thingworx/Things/HTU21DThing/Services/setTempAndHumid?appKey=...&method=post&x-thingworx-session=true&Temperature=998.00&Humidit

jbjörkqvist
1-Visitor

Access to the specified resource has been forbidden. I try connect REST to Thingworx with POSTMAN:https://aca-uef.elisaiot.com/Thingworx/Things/HTU21DThing/Services/setTempAndHumid?appKey=...&method=post&x-thingworx-session=true&Temperature=998.00&Humidit

3 REPLIES 3

The Content Type what I used was text/html it should be application/json. I have to get off the parce functions in my Service also although there is generated json parce error. Bye

PaiChung
22-Sapphire I
(To:jbjörkqvist)

Do you have the Switch method on? the URL method=post only works with that on.

if you are using Postman you should just use POST instead of the URL switch

Like I said the Content Type that we used text/html it must be application/json. Method is POST. Than you for your caring.

Announcements


Top Tags