---
title: "Proxy POST Request"
method: POST
path: "/proxy/{path}"
tags: ["Gateway - Proxy"]
---

# Proxy POST Request

`POST /proxy/{path}`

Proxy POST requests to external services with automatic secret injection.
The target URL is specified via the X-Target-Base-URL header.
Note: X-Target-Base-URL is treated as a base URL; the final upstream URL is composed as:
<base>.rstrip('/') + '/' + {path}.lstrip('/').

## Path parameters

- `path` string, required

## Headers

- `X-Target-Base-URL` string, required
- `Authorization` string, required

## Request body

- object — Request payload for the target service

## Response `200`

Request proxied successfully

- object — Response from the target service

## Other responses

- `400` — Invalid proxy request or missing required headers
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Access denied by policy
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture.md) · [All operations](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrail/deepsecure-api-dual-service-architecture/versions/78627360c082/schema)
