Web API - Purchase Item from Vendor

System.GetOperatorSetting("ingame_host").."/api/v1/vendor/VENDOR_ID/purchase"
 * Usage

local INGAME_HOST = System.GetOperatorSetting("ingame_host"); local PATH = "/api/v1/vendor/11/purchase" local url = INGAME_HOST .. PATH
 * Examples:

local toserver = { item = { item_id = valid_item_id, currency_remote_id= valid_item_type }   } HTTP.IssueRequest(url, "POST", toserver, callbackfunction);

function callbackfunction(args, err) if (err) then warn(tostring(err)); else -- args is the data in table form, have fun with it       log(tostring(args)) end end