Token Vault
Docs
Create a new project secret POSTDecode secrets POSTProxy a request to a url POST
Token Vault
Api

Proxy a request to a url

Proxy a request to a url

POST
/proxy

Header Parameters

x-api-keystring
Length1 <= length

Request Body

Proxy a request to a url

urlstring
Formaturi
Length1 <= length
methodstring
Value in"GET" | "POST" | "PUT" | "DELETE" | "PATCH"
headers?object | null

Empty Object

body?unknown
followRedirects?boolean
Defaulttrue
maxRedirects?number
Default5
Range0 <= value <= 10
secretsarray<object>

Response Body

curl -X POST "https://loading/proxy" \  -H "x-api-key: string" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com",    "method": "GET",    "secrets": [      {        "ref": "string",        "location": "header"      }    ]  }'
null
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string",
  "retryAfter": 0
}
{
  "message": "string"
}
{
  "message": "string"
}

Decode secrets POST

Previous Page

Terminology

A comprehensive guide to the technical terminology used by Token Vault.

curl -X POST "https://loading/proxy" \
  -H "x-api-key: string" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "http://example.com",
    "method": "GET",
    "secrets": [
      {
        "ref": "string",
        "location": "header"
      }
    ]
  }'