Requests

Requests

Build HTTP requests with any method, headers, body and settings.

Overview

A request is everything Relay needs to call an endpoint: a method and URL, query parameters, headers, a body, authentication, scripts and settings. The request editor puts each of these on its own tab, and any field can contain variables that Relay fills in when you send.

Requests are either drafts, which are quick and unsaved, or part of a collection in a workspace. Either kind can be sent, duplicated and turned into the other.

Topics

Essentials

GraphQL

Configuration and documentation

Sending

See Also

  • Inspecting responses: Read a response's status, body and headers, and copy or save what you need.
  • Using variables: Insert values into requests with {{name}} tokens and see where each value comes from.
  • Inheriting authentication: Set authentication once on a workspace, collection or folder and let requests inherit it.