BloxAPIs is roblox lua programming library. BloxAPIs can connect API with advance option (header, content-type, method, etc.)
this is example script to use it :
local BloxAPI = require(13126201888)
local data = BloxAPI:send({
["url"] = "https://example.com/get-api", -- Must Have
["method"] = BloxAPI.method.post, -- Must Have
["data"] = '"my-game":"idk", "key":19882',
["content_type"] = BloxAPI.content_type.application.json,
["api_key"] = "123456789",
["header"] = false,
["success"] = function(respons) -- Line 10
print(respons)
end,
["error"] = function()
error("Unknow Error.")
end
})
This is example output :
{
["status"] = "success",
["message"] = "",
["data"] = {
["number"] = 123,
["locate"] = "Asia/Bankok"
}
}
-- Peak at previous code line 10
If you have problem, question, comment or want something more please post or comment it below this topic. Thank