2016-04-15 3 views
1

Ici tutorial est écrit:Thingworx: méthode GET pas permis

L'appel API suivante exécute les GetBlogEntriesWithComments de service qui est associé à la chose appelée ThingWorxTrainingMaintenanceBlog. http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments

Par cet exemple, je crée ThingCARA et je veux appeler par défaut service mais je reçois 405 code d'erreur « non implémenté »

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

Toutes les idées que je fais mal?

Répondre

1

utilisation POST demande, mec:

curl -v --basic --user name:pass -X POST --header "Content-Type: application/json" http://localhost:8080/Thingworx/Things/CarA/Services/GetProperties?Accept=application/json