http
{% http url: "https://api.example.com/data", method: "GET" as response %}
{% if response.ok %}
{% log "Request successful: " | append: response.status %}
{% endif %}Syntax
{% http url: endpoint, method: http_method, headers: headers_object, body: body_object as result_variable %}Parameters
Parameter
Required
Description
Result Object
Property
Type
Description
Examples
Notes
Last updated