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

how to run http client request in thingworx studio?

Hari_Varadh
5-Regular Member

how to run http client request in thingworx studio?

Hi all,

How to run a http client request like GET,PUT, POST into an Experience in the ThingWorx Studio?

Iam doing the thingworx studio trial tutorials.

Best regards

Hari

1 REPLY 1

Hi!

From my experience: is very very tough...

It is much easier to make this kind of request in ThingWorx Platform and then bind result in ThingWorx Studio.

I tried many things and the result is:

  • There is a lot of problems with HTTP & HTTPS mixes. I am not sure, but it seems to that if you are connected to the HTTPS Experience Service, you cannot make HTTP calls, and same in other way. Weird.
  • Then you server must be configured to not use Cross Origin Check, and CORS must be configured as well.
  • AngularJS $http was not working for us. We used XMLHttpRequest() object.

Hope it is good start. Highly recommend to use ThingWorx Platform as a proxy for your RESTs. It is much easier.

Best,

Adam

Announcements