The HTTP component is able to post messages to HTTP(S) endpoints. It will post the content it receives from a previous component without altering it.
The HTTP component has the following configuration options:
|URL to the HTTP(s) endpoint that must be reached|
|Choose if |
|Select which authentication method must be used with the HTTP(s) endpoint, either none (default) or Basic Authentication.|
|The username when using Basic Authentication|
|The password when using Basic Authentication|
|Set to |
|Set this to |
- This component can be chained to another endpoint. However unlike other components the output will not contain the message you posted somewhere, but will contain the response of the HTTP Post.
- The HTTP component also has an Validate Url button, which will test if it can send a message to the endpoint.
- The HTTP Component is only capable of posting messages to HTTP endpoints, use the Inbound HTTP component for receiving messages
Custom SSL Certificates
It can be the case that the endpoint you are trying to reach uses an SSL Certificate (HTTPS), this is not a problem for Dovetail as long as it is signed by a default trusted certificate authority.
When the endpoint uses a
self-signed certificate, or a certificate not signed by a default trusted certificate authority, the certificate should be retrieved and imported into Dovetail. Unfortunately to date, this has to be done manually by the support staff of Dovetail, please contact your Dovetail provider when necessary.
When you install a flow that uses such an endpoint dovetail will run a pre-install check, to check wether the certificate is valid or not. When using a dynamic url this check can be bypassed and it will show up in the flow logging instead.
Testing with HTTP component
On www.requestb.in you can set up a temporary HTTP server which you can use for testing purposes. Dovetail can send messages to this HTTP server so that you can see if a flow is configured correctly.
To do this:
- Go to https://requestbin.fullcontact.com/ and click 'Create requestbin'.
- Copy the URL (e.g. http://requestbin.fullcontact.com/161uhun1) and paste in the HTTP component in Dovetail (see screenshot above).
- Kick off the flow in Dovetail by sending a message to it.
- Go to http://requestbin.fullcontact.com/161uhun1?inspect to see if the message has been received by the HTTP server.