HTTP Request Handling
Have your submodule handle HTTP requests sent to a special URL.
Submodule Code
RegisterPluginHttpEvent("yourpluginname:hello", function(data)
debugLog(("Got data: %s"):format(json.encode(data)))
return { result = "ok, got some data!" }
end)Breakdown
Submodule Event
Request Body
Name
Type
Description
Last updated
Was this helpful?

