Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Slide DevCoach #151
Search
shabilla
June 03, 2024
68
0
Share
Slide DevCoach #151
shabilla
June 03, 2024
More Decks by shabilla
See All by shabilla
Slide DevCoach
shabillarestu
0
69
Slide DevCoach
shabillarestu
0
41
Slide DevCoach
shabillarestu
0
40
Slide DevCoach
shabillarestu
0
44
Slide DevCoach
shabillarestu
0
45
Slide DevCoach
shabillarestu
0
32
Slide DevCoach
shabillarestu
0
43
Slide DevCoach
shabillarestu
0
43
Slide DevCoach
shabillarestu
0
44
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.9k
Balancing Empowerment & Direction
lara
6
1.1k
Building an army of robots
kneath
306
46k
Mind Mapping
helmedeiros
PRO
1
220
The untapped power of vector embeddings
frankvandijk
2
1.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Navigating Team Friction
lara
192
16k
Designing for humans not robots
tammielis
254
26k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Transcript
Position Hidup Lebih Simpel dengan Axios Front-End Web Nur Rizki
Adi Curriculum Developer
Agenda Front-End Web • Apa itu Axios • Perbedaan Axios
dengan lainnya • Cara penggunaan Axios API • Dua fitur utama yang keren!
Efficient Client-Server Communication: An Overview of Protocols and Techniques -
Pavlo Kolodka Front-End Web
XMLHttpRequest Front-End Web Fetch API Browser API untuk Client-Server Communication
Front-End Web Library untuk Client-Server Communication
• For browser and Node.js. An isomorphic. • Promise-based HTTP
client. Node.js use http module and browser use XHR. • Simple to use. • Very extensible interface. Front-End Web Why should I choose Lit? - lit.dev Axios, HTTP Client Library
Contoh Fetch API
Contoh Axios
Contoh Fetch API dengan async/await
Contoh Axios dengan async/await
Perbedaan antara Fetch API & Axios
Skema Response dari Axios Response Schema - Axios Docs
Hanya itu saja kelebihannya? • Axios Instance • Interceptor Front-End
Web
How Does Axios Work
Axios Request Request Interceptor Transform Request How does Axios work?
Browser XMLHttpRequest Node.js Node.js HTTP Request How does Axios work?
then()/catch() Response Interceptor Transform Response How does Axios work?
Let’s get dirty our hands
Use Case for Interceptor
Use Case for Interceptor
• The rules of usage, Axios API. • Request config
for making request. • Handling error in axios. Another to Know!
Thank You nurrizkiadip Nur Rizki Adi Prasetyo @NAdiPrasetyo
[email protected]
Nur
Rizki Adi Prasetyo Nur Rizki Adi Prasetyo Front-End Web
Feedback! Hadiah: • 1 Token Langganan Academy (30 Hari) *untuk
pengisi feedback terpilih! dicoding.id/devcoachfeedback
Front-end Web
https://reflectoring.io/tutorial-guide- axios/ https://masteringjs.io/axios