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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

REST API using Web Browser

shreekant
6-Contributor

REST API using Web Browser

Hi,

 

I have studied REST API example given at https://developer.thingworx.com/en/resources/guides/thingworx-rest-api-quickstart .

 

It uses command line tool HTTPie for GET/PUT the property value.

 

Is there any way to by using web browser instead of using command line?

 

Thanks,

shreekant

 

1 ACCEPTED SOLUTION

Accepted Solutions
posipova
20-Turquoise
(To:shreekant)

Yes, please refer to this article:

https://www.ptc.com/en/support/article?n=CS224211

Ensure your application key has not expired and the use is enabled in PlatformSubsystem.

View solution in original post

3 REPLIES 3
posipova
20-Turquoise
(To:shreekant)

Yes, please refer to this article:

https://www.ptc.com/en/support/article?n=CS224211

Ensure your application key has not expired and the use is enabled in PlatformSubsystem.

shreekant
6-Contributor
(To:posipova)

Hi,

 

Thanks for your reply. I have been able to get the GET working using 

GET: https://pp-1904021146sg.devportal.ptc.io/Thingworx/Things/SomeTestThing/Properties/SomeNumber 

 

However PUT is not working for me using 

PUT: https://pp-1904021146sg.devportal.ptc.io/Thingworx/Things/SomeTestThing/Properties/SomeNumber?method=PUT&value=500&appKey=4bf62b7a-bc9c-423b-93ce-f6f3868ef080

 

my app key is still functioning as I have tested it through command line tool HTTPie.

 

what could be the reason? Please help.

 

Thanks,

shreekant

shreekant
6-Contributor
(To:shreekant)

Hi,

 

The issue is resolved for me. I have to enable Allow Request Method Switch option in PlatformSubSystem.

 

Thanks,

shreekant

Top Tags