Incorrect request verb for example a GET was used instead of PUT or POST You can use the following table to diagnose the issue.Ĭontent-Type request header is not set to application/jsonĪ Property with that name already exists on the platform In the case of an error, you will receive an error message. You should expect to get back the status code of 200 - OK either with or without content. It is possible for the content to be returned in four different formats by sending an Accept header with the request. Other than authentication, no other parameters are used in this GET request. The parameter appKey is recognized by the ThingWorx server as an authentication credential in requests, it can be passed either as a URL query string parameter. For this example we will authenticate by passing the appKey as a URL query string parameter. All API requests to the ThingWorx server must be authenticated either with a username and password or with an appKey. The Usernames of all Users can be returned by making a GET request to this endpoint:Īuthenticate Request. Include the hostname and authentication credentials for your specific ThingWorx server as described below. AppKey created by your Foundation server.The REST API exposes the ability to retrieve collections of Entities so that a UI can be dynamically updated with current data. The REST API can be used to create, list, and delete Users. Access to functions and information on the ThingWorx Foundation server is controlled by Users.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |