---
title: "POST /v2/{+name}:executeHttpRequest"
method: POST
path: "/v2/{+name}:executeHttpRequest"
tags: ["projects"]
---

# POST /v2/{+name}:executeHttpRequest

`POST /v2/{+name}:executeHttpRequest`

Executes a generic HTTP request. This supports all payload formats including REST/JSON, GraphQL, XML, SOAP, and Multipart by passing the rendered payload as raw bytes.

## Path parameters

- `name` string, required

## Request body

- ExecuteHttpRequestRequest
  - `rawBody` string, byte — Raw byte payload. Used for all pre-serialized formats including JSON, XML, GraphQL, and Multipart.
  - `headers` HttpHeader[] — HTTP headers to send with the request (e.g., Content-Type: application/json). Order is preserved and duplicate keys are allowed.
    - `value` string — The header value.
    - `key` string — The header name.
  - `httpMethod` 'HTTP_METHOD_UNSPECIFIED' | 'HTTP_METHOD_GET' | 'HTTP_METHOD_POST' | 'HTTP_METHOD_PUT' | 'HTTP_METHOD_PATCH' | 'HTTP_METHOD_DELETE' | 'HTTP_METHOD_HEAD' | 'HTTP_METHOD_OPTIONS' — Required. The HTTP method to use for the request.
  - `url` string — Required. The fully resolved absolute target URL. Callers must pre-encode any query parameters.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/connectors.md) · [All operations](https://skmtc.dev/google/apis/connectors/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/connectors/revisions/1153921b6f7b/schema)
