Skip to main content

Actions

Send HTTP Request

Execute an HTTP request with the chosen method on a provided URL.
ParameterDescription
MethodThe HTTP method to use in the request.
URLThe URL to communicate with.
BodyThe content of the request body.
HeadersRequest Headers to be added to the request, as a string in the format of Name: Value, separated by new lines.

For example:
Content-Type: application/json
Accept: application/json
CookiesWeb cookies to include in the request in the format Name: Value, separated by new lines.

For example:
Session: gr32tsd266yfg3u3t132kyl
Authentication: token123
Retry On Rate LimitWhen checked, and rate limits are reached, the system will retry the HTTP request after the designated time period specified in the rate limit headers or through the use of exponential backoff.
Disable SSL EnforcementWhen checked, the SSL verification of the server’s certificate chain and host name will be skipped.

This option may increase security vulnerabilities, but can be useful for testing or when custom verification is employed.

Send HTTP GraphQL Request

Executes GraphQL query on provided URL.
ParameterDescription
URLThe URL to communicate with.
QueryGraphQL query.
VariablesGraphQL query variables.
HeadersRequest Headers to be added to the request in the format Name: Value.
For example: Content-Type: application/json.
Retry On Rate LimitIf enabled, and when rate limits are reached, the system will retry the HTTP request after the designated time period specified in the rate limit headers or through the use of exponential backoff.
Disable SSL EnforcementEnable this option to skip SSL verification of the server’s certificate chain and host name. This may increase security vulnerabilities, but can be useful for testing or when custom verification is employed.

Send HTTP Upload File Request

Uploads a file to the provided URL using an HTTP request.
ParameterDescription
MethodWhich HTTP method to use in the file upload request. The default value for the request is POST.
URLThe URL to communicate with.
BodyThe content of the request body.
HeadersRequest Headers to be added to the request, as a string in the format of Name: Value, separated by new lines.

For example:
Content-Type: application/json
Accept: application/json
File IdentifierThe identifier of the file. You can create a file identifier using the Set File Variable action.
File Param NameThe parameter name of the file to upload.
CookiesWeb cookies to include in the request in the format Name: Value, separated by new lines.

For example:
Session: gr32tsd266yfg3u3t132kyl
Authentication: token123
Retry On Rate LimitWhen checked, and rate limits are reached, the system will retry the HTTP request after the designated time period specified in the rate limit headers or through the use of exponential backoff.
Disable SSL EnforcementWhen checked, the SSL verification of the server’s certificate chain and host name will be skipped.

This option may increase security vulnerabilities, but can be useful for testing or when custom verification is employed.
Learn about how Blink handles Rate Limits automatically in HTTP requests.

Standard non-authenticated HTTP requests

The most basic way to use HTTP Actions is without authentication.

Authenticated HTTP requests to existing service providers

HTTP Actions can be used with most of the Blink connection types to send authenticated requests to existing service providers in Blink. For example, to send an authenticated request to GitHub’s API, use a GitHub connection.

Authenticated HTTP requests to unsupported service providers

Blink adds support for additional service providers on a weekly basis. To use Actions with a service provider that is not currently supported, there are two options:
  1. Contact the Blink team to request integration with a new service provider. Contact us.
  2. Use generic HTTP Actions to communicate with unsupported service providers, as explained below.

Using generic HTTP actions to communicate with unsupported service providers

HTTP Actions can be used with one of the three HTTP connection types to send authenticated requests to service providers that aren’t currently supported by Blink:
  1. HTTP Basic Authentication
  2. HTTP Bearer Authentication
  3. HTTP Custom Authentication
For example, to communicate with a service provider called X that isn’t supported by Blink and requires Basic Authentication:
  1. Create an HTTP Basic Authentication connection with the required credentials.
  2. Use the connection to perform the Action, and the outgoing HTTP request will be sent with the appropriate authentication headers.

Usage Via Paste

HTTP steps can easily be created using the paste feature on the edit screen. If a valid curl command is pasted, it will be parsed into an HTTP step with the appropriate request type, URL, body, headers, and cookies. If a URL is pasted, an HTTP GET step will be created using the provided URL. The HTTP actions created this way will be added last to the list of actions that the Workflow may already have.