> For the complete documentation index, see [llms.txt](https://docs-csgo.neverlose.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-csgo.neverlose.cc/documentation/variables/network.md).

# network

## Functions:

### get

`network.get(url: string[, headers: table, callback: function]):` <mark style="color:purple;">`string`</mark>

<table><thead><tr><th width="150">Name</th><th width="162.52330706200414">Type</th><th width="410.3276962436035">Description</th></tr></thead><tbody><tr><td><strong>url</strong></td><td><strong><code>string</code></strong></td><td>URL</td></tr><tr><td><strong>headers</strong></td><td><strong><code>table</code></strong></td><td>Headers</td></tr><tr><td><strong>callback</strong></td><td><strong><code>function</code></strong></td><td>Callback</td></tr></tbody></table>

Sends a GET request to the URL.

### post

`network.post(url: string[, data: table, headers: table, callback: function]):` <mark style="color:purple;">`string`</mark>

<table><thead><tr><th width="150">Name</th><th width="162.52330706200414">Type</th><th width="410.3276962436035">Description</th></tr></thead><tbody><tr><td><strong>url</strong></td><td><strong><code>string</code></strong></td><td>URL</td></tr><tr><td><strong>data</strong></td><td><strong><code>table</code></strong></td><td>Post data</td></tr><tr><td><strong>headers</strong></td><td><strong><code>table</code></strong></td><td>Headers</td></tr><tr><td><strong>callback</strong></td><td><strong><code>function</code></strong></td><td>Callback</td></tr></tbody></table>

Sends a POST request to the URL.
