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

# Proxy Request

`POST /proxy`

Proxies a request through the Cyclotron service.  This wraps the Request library, and supports all options documented here: https://www.npmjs.com/package/request#requestoptions-callback.  The only required option is "url"; all others are optional.

Decrypts any encrypted values embedded in the request, in the form of !{encryptedText}.

## Request body

- ProxyRequest
  - `url` string — Target URL for the request.

## Response `200`

The proxy response.

- ProxyResponse
  - `headers` object — Map of headers from the reponse returned by the proxied request.
  - `body` object — The body of the response returned from the proxied request.

## Other responses

- `400` — Missing body in request.
- `500` — Error in proxying the request, OR Cyclotron-svc is not configured for encryption/decryption.

---

[API](https://skmtc.dev/expediagroup/apis/cyclotron-api.md) · [All operations](https://skmtc.dev/expediagroup/apis/cyclotron-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/expediagroup/cyclotron-api/revisions/18e751e6bc49/schema)
