Request Step

Discover how to make HTTP requests, pass data and call webhooks with HARPA AI.

All ChatML pages

# REQUEST

REQUEST is a versatile step. You can use REQUEST to send data to a Webhook, call remote API or fetch a web page HTML content. REQUEST step performs an HTTP GET / POST request to the specified URL under the hood. You can see an example of using HARPA for parsing information in Google Sheets via MAKE.COM in this guide.

request 1

Typically it is used to send data to Zapier or Make.com to trigger an IFTTT chain, but it can also send data to Discord or Telegram bot, or your API system. You can use parameters such as {{url}} in URL, body and headers. Request response is stored in the {{response}} parameter.

You can use https://webhook.site to test what data HARPA sends to a webhook. You can also use SAY step and print out {{response}} parameter to check what data comes back as a response to your request.

- type: request
  url: https://webhook.site/df749f58-8df2-448b-b4cf-efaabcecc53c
  method: post
  headers:
    Authorization: Bearer token
  body:
    url: '{{url}}'
    data: '{{gpt}}'
  auth:
    enabled: true
    username: username
    password: password
  param: response