A lot is determined by your host script and what it expects. But in general terms, you will have an options table that will hold a body table and header table:
local options = {} local headers = {} headers["Content-Type"] = "application/x-www-form-urlencoded" headers["Accept-Language"] = "en-US" local body = "somekey=somevalue&someotherkey=someothervalue&someadditionalkey=someadditionalvalue" options.headers = headers options.body = body
then pass the options table to network.request. I just don’t know what your receiving script expects for it’s keys and this assumes you are sending an HTTP POST request. It’s possible that body could just be your JSON string. You will have to figure that part out on your own.
Rob