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

# HTTP

Make HTTP requests

Here are the methods you can use to make HTTP calls.

## GET

```javascript
Http.get("https://randomuser.me/api").then(({data}) => { 
const response = data; 
Bot.reply(response.results[0].name.first) 
})
```

## POST

```javascript
const body = {} ​ 
Http.post("URL", body ).then(({data}) => { 
const response = data; 
})
```
