sanjar-notes / web_dev_fundamentals

The basics - HTML, CSS, Javascript and more
https://sanjar-notes.github.io/web_dev_fundamentals/
3 stars 0 forks source link

Add notes about axios - it's a simple but vital software #99

Open sanjarcode opened 10 months ago

sanjarcode commented 10 months ago
  1. axios works the same way on web, mobile (android, ios) and Node (TBD)
  2. The implicit way to pass headers, query params and payloads.
  3. Auto content-type.
  4. File handling part is also partially handled
  5. interceptors are simple to use

of course, await-to-js combined with axios makes code very simple (compared to try catch)