Getting Started

Introduction

Installation

API Client

Overview

Make an API Request

Replay request from History

Import from cURL

Inspect Traffic

Overview

Filtering Traffic

Save Session

View Request/Response Details

HTTP Rules (Modify Traffic)

Overview

Redirect URL (Map Local, Map Remote)

Replace Strings (Switch Hosts, API Endpoints)

Modify Headers

Modify Request Body

Modify Response Body

Modify Query Params

Modify Cookies

Modify DOM/Inject scripts

Modify User Agents

Delay Request

Cancel Rule

Organizing Rules

Import/Export Rules from File

Pause/Resume Requestly

Rule Operators

Advance Targeting

Sharing Rules

Map Local

Map Remote

Pinning Rules

GraphQL Support

Edit and Replay

Import Setting from Charles Proxy

Test URL Condition

Mock Server

Overview

Create New Mock API

Test Mock API

Pre-Configured Mocks

File Server

Overview

Create New Mock File

Sessions

Overview

GraphQL Support

With Requestly, you can alter GraphQL API requests and responses through the use of the request payload filter in the modify request and modify response rules.

Modifying graphQL responses

GraphQL requests are directed at a single endpoint. So for quering, it is a common practice to pass operationName to differentiate similar queries or for verbose logging on the backend. To modify the responses, you can target query and operationName using Modify Response rule and then modify the responses.

Untitled

You can target GraphQL requests using the operation name in request body. To do so add:

Payload also supports nested path.

Modifying GraphQL queries

The GraphQL queries can be modified by using the modify request body rule where the request body can be altered.

You can refer this blog for detailed explanation.