We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
⚠️ We have a new website! Visit now for the most update to date documentation. This wiki is no longer being maintained.
Perform a HTTP POST request to the specified URL.
http.post(url, data, { options })
url is the URL to POST to.
url
data is a string containing the data to post.
data
options is a table of options used for this HTTP request.
options
There are three return values.
resource, result_str, response_code = http.post(url, data, { options })
resource
result_str
result_code
local resource, result_str, response_code = http.post("http://example.com/api.json", "somedata")
Premake 5.0 or later.