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 | Description | Scope | Unit | Mandatory / default value |
---|---|---|---|---|---|
1 | Name | it is the key that identifies the resource within the data point definitions. The name can freely be chosen but has to be unique. | string | None | mandatory |
2 | Type | type of encoding. | XML, JSON, URL encoded, Text, Form Data | None | mandatory |
3 | Resource content | it defines the content that is excepted at the HTTP server. The structure and type depends on the used encoding and on the direction (polling or update). Examples and more information can be found within this tutorial. As an alternative, the content can be specified within a separate file. The file name must be specified in "Resource file name" | string | None | empty |
4 | Resource file name | here a file name can be defined that contains content that is excepted at the HTTP server. The file must be located in <WorkspaceDirectory>\DataFiles\. The structure and type depends on the used encoding and on the direction (polling or update). Examples and more information can be found within this tutorial. As an alternative, the content can be specified directly in "Resource content" | file name | None | empty |