# HTTP requests API

## Send request through Jet Admin proxy

<mark style="color:green;">`POST`</mark> `https://api.jetadmin.io/api/proxy_request/`

#### Headers

| Name          | Type   | Description                                                 |
| ------------- | ------ | ----------------------------------------------------------- |
| Authorization | string | JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl9Cfb.... |

#### Request Body

| Name           | Type   | Description                                                                                                                                       |
| -------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| project        | string | Project unique name                                                                                                                               |
| environment    | string | Environment unique name (default is prod)                                                                                                         |
| resource       | string | Resource unique name                                                                                                                              |
| method         | string | HTTP method (GET, POST, PUT, PATCH, DELETE, etc.)                                                                                                 |
| url            | string | HTTP URL                                                                                                                                          |
| query\_params  | array  | <p>JSON formatted array, for example:<br>\[{"foo":"q","value":"bar"}]</p>                                                                         |
| headers        | array  | <p>JSON formatted array, for example:<br>\[{"name":"Authorization","value":"Header {-sso.9b4348ec965d4c68818aec4e15dc536f.access\_token-}"}] </p> |
| body\_type     | string | Body type (JSON, GraphQL, FormUrlEncoded, FormData, Raw)                                                                                          |
| body           | string | Body depending on selected Body type                                                                                                              |
| secret\_tokens | string | <p>Comma separated list of used secret tokens, for example:<br>sso.9b4348ec965d4c68818aec4e15dc536f.access\_token</p>                             |

{% tabs %}
{% tab title="200 Response returned by provided HTTP URL" %}

```
[any data]
```

{% endtab %}
{% endtabs %}
