Many web services require a service token or key to be passed with an HTTP header or parameter.
Prerequisites: You are working in
Workbench and are connected to the station with an HttpClientNetwork.
Perform the following steps:
- Expand Authenticator in your HTTP Client.
- From the
Auth-Type
drop-down list, select either HeaderTokenAuth
or ParameterTokenAuth
and click Save. The driver updates the Config
options.
- Expand
Config
, enter the Header Name
or Parameter Name
, add the service token/key/password to the Token
slot and click Save.
- Right-click Http Client and select .
The driver sends the request with the header/parameter and the Out
slot reports the response.