Supported HTTP Connector Types
Add an HTTP connector type to authorize ThingWorx Flow to execute HTTP actions. ThingWorx Flow supports the following connector types for HTTP:
◦ OAuth (Named User)
◦ OAuth (Session User)
|
Before you create an HTTP OAuth connector, ensure that you load HTTP OAuths to the ThingWorx Flow server.
|
Adding a Basic connector
1. Drag any action under
HTTP to the canvas, place the pointer on the action, and then click
or double-click the action.
2. For Connector Type, select Basic.
3. In the HTTP Basic list, select Add New.
4. Edit the Connector Label field, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
5. In the Connection URL field, specify the base URL that can be used for multiple HTTP endpoints.
6. In the Username and Password fields, enter the correct user name and password.
7. Click ADD to add the HTTP Basic connector.
Adding a None connector
You do not need to provide any connection information for the None connector type.
Adding an OAuth connector
1. Drag any action under
HTTP to the canvas, place the pointer on the action, and then click
or double-click the action.
2. For Connector Type, select OAuth (Named User) or OAuth (Session User).
3. In the HTTP OAuth list, select Add new HTTP login – Named User or Add new HTTP login – Session User.
| If you have not loaded HTTP OAuths to the ThingWorx Flow server, this option is not available. |
4. Provide your user name and password to log in to the HTTP server.
5. Edit the Connector Label, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
6. In the Resource URL field, enter your resource server URL.
| The Resource URL field is available only if you have set the value of the NEED_RESOURCE_URL parameter to true and did not provide the value of the RESOURCE_URL parameter while configuring OAuth settings for HTTP. For more information, see HTTP OAuth Parameters. |
7. Click ADD to add the HTTP OAuth connector.