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

REST API using Web Browser

SOLVED
Highlighted
Level 7

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

Re: REST API using Web Browser

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.

3 REPLIES 3

Re: REST API using Web Browser

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.

Re: REST API using Web Browser

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...

 

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

Re: REST API using Web Browser

Hi,

 

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

 

Thanks,

shreekant