HARPA.AI
USE CASESGUIDESAI COMMANDSBLOG

Request Step

CONTENTS

# 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.

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.

ChatML declaration

- 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
NEXT POST
Contact us
HomeUse CasesGuidesPrivacy PolicyTerms of Service