# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jetadmin.io/user-guide/jet-admin-api/http-requests-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
