What's the best way to make an HTTP request in JS? (how to make http request js) or How to make HTTP

20 Replies, 1223 Views

If you're new to how to make http request js, stick with Fetch. It’s the standard now, and you’ll see it everywhere.

But here’s a hot take: try the `ky` library. It’s like Fetch but with way better DX. Tiny, modern, and fixes all the weird Fetch quirks.

https://github.com/sindresorhus/ky

Messages In This Thread



Users browsing this thread: 1 Guest(s)