How to create a request in Node.js using axios? or What's the best way to create a request with node

18 Replies, 575 Views

Honestly? I just use `fetch` now. Axios is great, but native fetch + `node-fetch` is lighter and does the job.

But if you’re stuck on node axios create request, yeah, interceptors are clutch. Also, `axios.create()` for reusable instances with base URLs and headers.

Messages In This Thread



Users browsing this thread: 1 Guest(s)