-
Notifications
You must be signed in to change notification settings - Fork 2
Http Lua lib
htmlcsjs edited this page Apr 3, 2022
·
1 revision
This is an API providing means to perform HTTP requests
This is contained in the http
package in lua. It contains
-
get
-> a function to perform get requests. It returns a table with:
status_code
-> the numerical code for the status of the response.status_msg
-> the textual representation of the status.body
-> the body of the response.headers
-> any headers from the response as a table of header names, and arrays of values.