Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

The HTTP plugin provides different authentication methods for the defined Datapoints. Although, in some APIs the client request needs to provide authentication information, otherwise the server responds to a client with a 401(Unauthorized) response.

...

If Datapoint needs to provide a token in order to Get or Post request, the token should be added in the "Additional HTTP Headers". Datapoint requests with the Authorization header that contains the word Basic word followed by a space and token.

Info
Authorization: Basic YmRmODRjNzBhYzI0NDM5ZDgyOTE5M2FiMjI1NDBhMDE6OWI2MTYzMEQ3NmUxNEQ1Mzk0MjgwMTdkNzZBRjhmODY=

...

If Datapoint needs to make calls from API that has OAuth 2.0 as authorization protocol you will need also an access token. When passing the access token in an "Additional HTTP Headers" with the Authorization header that contains the word Bearer word followed by a space and token.

Info
Authorization: Bearer YmRmODRjNzBhYzI0NDM5ZDgyOTE5M2FiMjI1NDBhMDE6OWI2MTYzMEQ3NmUxNEQ1Mzk0MjgwMTdkNzZBRjhmODY=

...