Thingworx:不允许使用 GET 方法
Thingworx: GET method not allowed
这里tutorial写着:
The following API call executes the service GetBlogEntriesWithComments
that is associated with the Thing called
ThingWorxTrainingMaintenanceBlog.
http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments
通过这个例子我创建了 Thing
CarA 我想调用默认值 service
但我得到 405 错误代码 'not implemented'
http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties
知道我做错了什么吗?
使用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
这里tutorial写着:
The following API call executes the service GetBlogEntriesWithComments that is associated with the Thing called ThingWorxTrainingMaintenanceBlog.
http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments
通过这个例子我创建了 Thing
CarA 我想调用默认值 service
但我得到 405 错误代码 'not implemented'
http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties
知道我做错了什么吗?
使用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