Web API - Sell Item to Vendor

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

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

local toserver = { items = { {                item_id = valid_item_id, item_sdb_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 -- failed: {	"message" : "An error occured!", 	"e" : [], 	"code" : "SELL_ERROR" } success: {	"message" : "You have successfully sold the item!", 	"crystite" : 92177, 	"code" : "SELL_SUCCESSFUL" } --