# 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.
