@rbxts/fetch-patched
v1.1.4-a
Published
quick workaround for @rbxts/fetch
Readme
quick workaround for @rbxts/fetch
there was a flaw in @rbxts/fetch package regarding url encoding, i think at some point roblox changed the way urls work in http requests so when the original package tries to pass url encoded string to url parameter to httpservice, it throws error "URL must be http". i just commented the line that encoded url.
i dont own the source code, all credits go to @spongus (i think their account is terminated) Original Package: https://www.npmjs.com/package/@rbxts/fetch
Patched Npm Package: https://www.npmjs.com/package/@rbxts/fetch-patched Discord thread link in case anybody needs it [you need to be in official roblox-ts server]: https://discord.com/channels/476080952636997633/1396856648529875036
Fetch for Roblox-TS, easier roblox requests. Support for sending objects that arent objects, numbers & strings is coming soon.
How To Install
To install, simply run npm install @rbxts/fetch in your project, package, model or game
Examples
import { fetch, Response } from "@rbxts/fetch"
fetch("https://example.com").then((res: Response)=>{
print(res.text());
})