Skip to main content

HTTP Actions

The Blink platform offers various HTTP actions such as GET, POST, PATCH, PUT, DELETE, HEAD, OPTIONS, and GraphQL.

Actions

Send HTTP Request

Executes an HTTP request with the chosen method on a provided URL.

ParameterDescription
MethodWhich HTTP method to use in the request.
URLThe URL to communicate with.
BodyRequest Body.
HeadersRequest Headers should be Name: Value (Accept: application/json)
CookiesRequest Cookies should be Name=Value (jwt=TOKEN)
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 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.
BodyRequest Body.
HeadersRequest Headers should be Name: Value (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.
CookiesRequest Cookies should be Name=Value (jwt=TOKEN)
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.
info

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 Blink's 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.

Thumbnail

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.

    Thumbnail
  2. Use the connection to perform the Action, and the outgoing HTTP request will be sent with the appropriate authentication headers.

    Thumbnail

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.