What's the best way to make a REST API request in JavaScript? or How do I properly handle a REST API

20 Replies, 1298 Views

Wow, thanks for all the tips! Didn’t realize how much I was missing with error handling. Tried the async/await approach and it’s way cleaner.

Still getting CORS errors though—any quick fixes for that? Also, gonna check out Axios based on the recs here. Appreciate it!

Messages In This Thread



Users browsing this thread: 1 Guest(s)