---
title: "GET /JSON/graphql/action/setOptionRequestMethod/"
method: GET
path: "/JSON/graphql/action/setOptionRequestMethod/"
tags: ["graphql"]
---

# GET /JSON/graphql/action/setOptionRequestMethod/

`GET /JSON/graphql/action/setOptionRequestMethod/`

Sets the request method.

## Response `default`

Error of JSON endpoints.

- ErrorJson
  - `code` string, required
  - `message` string, required
  - `detail` string

## Changes

- **2023-09-29** `3a1d8df7169d` — 1 info
  - endpoint added
- **2019-10-10** `c7cc14d831c3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/zaproxy/apis/zap-api/changes/JSON/graphql/action/setOptionRequestMethod/get.md)

---

[API](https://skmtc.dev/zaproxy/apis/zap-api.md) · [All operations](https://skmtc.dev/zaproxy/apis/zap-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zaproxy/zap-api/revisions/3a1d8df7169d/schema)
