local y=require(game.ReplicatedStorage.roxios)local Y=game:GetService("\072\116\116\112\083\101\114\118\105\099\101");((y.Request({Url="\104\116\116\112\058\047\047\104\116\116\112\098\105\110\046\111\114\103\047\112\111\115\116",Method="\080\079\083\084";Headers={["\067\111\110\116\101\110\116-\084\121\112\101"]="\097\112\112\108\105\099\097\116\105\111\110\047\106\115\111\110"},Body=Y:JSONEncode({hello="\119\111\114\108\100"})})):andThen(function(y)print(y.data)end)):catch(function(y)warn(y)end);((y.Get("\104\116\116\112\058\047\047\104\116\116\112\098\105\110\046\111\114\103\047\103\101\116",true)):andThen(function(y)print(y)end)):catch(function(y)warn(y)end);((y.Post("\104\116\116\112\115\058\047\047\104\116\116\112\098\105\110\046\111\114\103\047\112\111\115\116",Y:JSONEncode({hello="\119\111\114\108\100"}),Enum.HttpContentType.ApplicationJson,false)):andThen(function(y)print(y.data)end)):catch(function(y)warn(y)end);((y.RbxApiRequest({Url="\104\116\116\112\058\047\047\115\101\116\117\112\046\114\111\098\108\111\120\046\099\111\109\047\118\101\114\115\105\111\110",Method="\071\069\084",Headers={["\067\111\110\116\101\110\116-\084\121\112\101"]="\097\112\112\108\105\099\097\116\105\111\110\047\106\115\111\110"}})):andThen(function(y,Y)print(Y)end)):catch(function(y)warn(y)end)
local roxios = require(game.ReplicatedStorage.roxios)
local HttpService = game:GetService("HttpService")
roxios.Request({
	Url = "http://httpbin.org/post",
	Method = "POST",
	Headers = {
		["Content-Type"] = "application/json",
	},
	Body = HttpService:JSONEncode({ hello = "world" }),
})
	:andThen(function(parsedResponse)
		print(parsedResponse.data)
	end)
	:catch(function(error)
		warn(error)
	end)

roxios.Get("http://httpbin.org/get", true)
	:andThen(function(parsedResponse)
		print(parsedResponse)
	end)
	:catch(function(error)
		warn(error)
	end)

roxios.Post(
	"https://httpbin.org/post",
	HttpService:JSONEncode({ hello = "world" }),
	Enum.HttpContentType.ApplicationJson,
	false
)
	:andThen(function(parsedResponse)
		print(parsedResponse.data)
	end)
	:catch(function(error)
		warn(error)
	end)

roxios.RbxApiRequest({
	Url = "http://setup.roblox.com/version",
	Method = "GET",
	Headers = {
		["Content-Type"] = "application/json",
	},
})
	:andThen(function(_, response)
		print(response)
	end)
	:catch(function(error)
		warn(error)
	end)
