Integrations
Table of contents

HTTP request

Sends a request to a custom endpoint.

Input settings

Parameter Description
URL (required) The URL that will receive the request.
Method Selects the HTTP method, from:
  • GET
  • POST
  • PUT
  • PATCH
  • DELETE
Content type The header property that indicates the type of content that is returned:
  • application/json
  • application/x-www-form-urlencoded
  • application/xml
Body The body of the request.
Headers The headers of the request.
URL params The URL parameters. These parameters will be automatically URI encoded.
Enable basic auth Enables authentication with user and password.

Output object

Property Type Description
headers Object The headers of the HTTP response.
body Object The parameters from the response.
status Number The status code.
success Boolean Returns true or false based on the HTTP response.

Output object example

{
  "headers": {
    "content-type": "application/json; charset=utf-8",
  },
  "status": 200,
  "body": {
    "token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhb...",
    "claim_url": "https://custom.demos.arengu.com/claim?token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhbmEudmlsYXIuZ0BnbWFpb...",
    "data": {
      "sub": "john.doe@arengu.com",
    }
  },
  "success": true
}