http

Interact with the world wide web.

Functions:

Get

http.get(string: url, table: headers, function(body)
    -- Response received!
end)

Makes a HTTP request with the method GET.

Post

http.post(string: url, table: headers, string: body, function(body)
    -- Response received!
end)

Makes a HTTP request with the method POST.

Put

http.put(string: url, table: headers, string: body, function(body)
    -- Response received!
end)

Makes a HTTP request with the method PUT.

Patch

http.patch(string: url, table: headers, string: body, function(body)
    -- Response received!
end)

Makes a HTTP request with the method PATCH.

Delete

http.delete(string: url, table: headers, function(body)
    -- Response received!
end)

Makes a HTTP request with the method DELETE.

Last updated