Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

The HTTP interface is used to send and receive data and information from HTTP server. If the remote HTTP server requires bearer authentication, the required configuration for bearer authentication can be specified here.

File location

<WorkspaceDirectory>\DataFiles\xio.HTTP.BearerDefinitions.dat

Changes within this definition file are taking effect immediately. No server restart is required.

Col#Parameter DescriptionScopeUnitMandatory / default value
1Nameit is the key that identifies the bearer definition. The name can freely be chosen but has to be unique.stringNonemandatory
2Bearer method

if static is used, the bearer token is a static one that has to be defined in "Bearer Token or Refresh Url". If dynamic is chosen, the bearer token has to be fetched from a HTTP server periodically. 

Static, DynamicNoneStatic
3Bearer token or refresh URLif static is used, the bearer token has to be defined here. If dynamic is chosen, the HTTP server URL from which the bearer token can be retrieved must be defined here.stringNonemandatory

The following parameters are only required, if "dynamic" is chosen as bearer method:

Col#Parameter DescriptionScopeUnitMandatory / default value
4Refresh methodthe HTTP request method for retrieving the token. POST, PUT, GETNonePOST
5Refresh intervalthe interval in seconds for refreshing the bearer token.1 – 65535seconds60
6Request resourcethe resource that is used for requesting the bearer token. It has to match the name that is used in the HTTP resource definition.Reference to HTTP resource definitionNonemandatory
7Request parametersA comma-separated list of parameters that are used to replace the placeholders within the request resource ({0}, {1}, ...).stringNoneempty
8Response Resourcethe resource that is used for extracting the token from the response. It has to match the name that is used in the HTTP resource definition.Reference to HTTP resource definitionNonemandatory
9Response parametersA comma-separated list of parameters that are used to replace the placeholders within the request resource ({0}, {1}, ...).stringNoneempty
10Authentication methodThe authentication method (None, Basic or Digest) if required by the HTTP server.None, Basic, DigestNoneNone
11Authentication userUsername for Basic or Digest HTTP authentication if required by the HTTP server. stringNoneempty
12Authentication passwordPassword for Basic or Digest HTTP authentication if required by the HTTP server. If empty, no HTTP authentication is used.stringNoneempty
13Additional HTTP headersA list of additional HTTP headers which is included in each HTTP request, e.g. for authentication purposes. Additional headers must have the following form: "<key1>: <value1>\r\n<key2>: <value2>\r\n<key3>: <value3>..."stringNoneempty
  • No labels