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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

REST API using Web Browser

shreekant
10-Marble

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

 

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.

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

Hi,

 

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

 

Thanks,

shreekant

Announcements


Top Tags