![]() ![]() GET When this query is packaged with the rest of the data provided on the API Poller page, including authorization and headers, the entire request looks like the following: GET HTTP/1.1 Here is an example of a GET request sent to the SolarWinds Platform API, asking for the names of three polling engines from a specific database table: Most GET requests include some form of authorization in their headers check the API documentation for details. If the request is successful, data is returned in a response payload. The most common method for API requests, GET, retrieves data from a specific endpoint within an API. For example, to use a POST request that adds a node to the SolarWinds Platform database, your SolarWinds Platform account must have Node Management rights. ![]() However, to send a POST request that creates a new record, you typically require extra rights. For example, to use a GET request to retrieve data from the SolarWinds Platform SDK, no extra rights are required other than the SolarWinds Platform account credentials included in the parent request. Similar to how you need different rights to perform various tasks in most applications, you need rights to use different methods against an external API and get a successful response. The method you use for an API request depends on: GET sends a request for data from a URL.When creating an API poller, your first step is selecting one of the following methods for the request. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |