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, 1094 Views

Wow, thanks for all the replies! 🙏

I tried Fetch with async/await like some of you suggested, and it *is* way cleaner. Still getting used to error handling though—might give Axios a shot next.

Also, that `ky` library looks interesting! Gonna check it out.

Appreciate the help, y’all! 🚀



Users browsing this thread: 1 Guest(s)