> For the complete documentation index, see [llms.txt](https://rawetrip.gitbook.io/rawetrip-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rawetrip.gitbook.io/rawetrip-api/documentation/variables/http.md).

# http

## Functions:

### get

`http.get(url: string):` <mark style="color:purple;">`string`</mark>

| Name    | Type         | Description |
| ------- | ------------ | ----------- |
| **url** | **`string`** | url         |

Sends a GET request to the URL.

### post

`http.post(url: string, params: string, type: number)`

| Name       | Type         | Description |
| ---------- | ------------ | ----------- |
| **url**    | **`string`** | url         |
| **params** | **`string`** | params      |
| **type**   | **`number`** | type        |

Sends a POST request to the URL.

### delete

`http.delete(url: string, params: string)`

| Name       | Type         | Description |
| ---------- | ------------ | ----------- |
| **url**    | **`string`** | url         |
| **params** | **`string`** | params      |

Sends a DELETE request to the URL.
