GET

Perform an HTTP GET on a URL and get the response.

icon of HTTP APIHTTP API
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
GET(action_url
[headers]
[response_type]
)
action_url

URL where to perform the HTTP request. For example: "https://httpbin.org/get".

[optional] headers

The JSON headers to send. For more info, check out Authenticating your API calls.

[optional] response_type

The response type. Choose either:

  • 0 (default) to get the response content

  • 1 - to get the status.

  • 2 to get the entire JSON server response

More details

The URL is automatically cleaned-up (percent-encoded except for reserved characters and the % sign).

Read up on GET() in our Academy.

Examples

GET("https://api.ipify.org/?format=json", '{"content-type": "application/json"}', 0) returns JSON with your IP address.