1

Here in tutorial is written:

The following API call executes the service GetBlogEntriesWithComments that is associated with the Thing called ThingWorxTrainingMaintenanceBlog. http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments

By this example I created Thing CarA and I want to call default service but I get 405 error code 'not implemented'

http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties

Any ideas what I am doing wrong?

4

1 回答 1

1

使用POST请求,伙计:

curl -v --basic --user name:pass -X POST --header "Content-Type: application/json" http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties?Accept=application/json
于 2016-04-15T12:45:30.263 回答