Configuring HTTP requests
Each HTTP request can be configured by using the corresponding URI, Method, Content and Header transport properties.
For example, to configure
the
loginRequest
use
the following steps: - Specify the path in the loginRequestURI property,
for example:
/login
- Specify the HTTP Method
in the loginRequestMethod property,
for example:
POST
,GET
,PATCH
, and so forth. - If required, specify the HTTP body in the loginRequestContent property,
for example:
{\"sample\":\"json\"}
- If required, specify additional HTTP headers in the loginRequestRequestHeaders property. This will override any headers set in the httpHeader property.
Note: For
loginRefresh
and subscribeRefresh
requests,
you can use the loginRefreshInterval and subscribeRefreshInterval properties
respectively to enable the HTTP request to be sent periodically.