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?
Use POST
request, dude:
curl -v --basic --user name:pass -X POST --header "Content-Type: application/json" http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties?Accept=application/json