2016-04-15 27 views
1

を許可されていない方法が書かれているGET:がThingworx:ここ<a href="http://support.ptc.com/cs/help/thingworx_hc/thingworx_6.0_hc/index.jspx?id=thingworx10&action=show" rel="nofollow">tutorial</a>で

を、次のAPI呼び出しが ThingWorxTrainingMaintenanceBlogというものに関連付けられているサービスGetBlogEntriesWithComments を実行します。この例により、 http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments

は私がCARAThingを作成し、私はデフォルトservice呼び出したいが、私は私が間違って

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

任意のアイデアをしています何実装されていません "405エラーコードを取得しますか?

答えて

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 
関連する問題