HTTP Request API

Premium Only

api.http

Method
Parameters
Return Value
Description

url: string headers: table

code: int body: string

Sends a GET request to an HTTP endpoint.

url: string headers: table

body: string

code: int body: string

Sends a POST request to an HTTP endpoint.

url: string headers: table body: string

code: int body: string

Sends a PUT request to an HTTP endpoint.

url: string headers: table

code: int body: string

Sends a DELETE request to an HTTP endpoint.

Last updated