此处tutorial写道:
以下API调用执行服务GetBlogEntriesWithComments 与被称为Thing的东西有联系 ThingWorxTrainingMaintenanceBlog。
http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments
通过此示例,我创建了Thing
CarA ,我想调用默认service
,但我收到405错误代码'未实现'
http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties
任何想法我做错了什么?
答案 0 :(得分:1)
使用POST
请求,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