AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Controlling the network is the key to fast prototyping, bullet-proof tests, and efficient debugging.
Mocking the APIs you use gives you this kind of control but most methods in the client and server come up short.
That's where Mock Service Worker does it right.
With it you can intercept and take control of requests no matter where they're being made.
In this course, you will learn how to:
* setup and your first request handler
* mock complex flows like authentication
* describe dynamic requests
* respond with HTTP streams,
* and use schema-first GraphQL mocking
After this course you'll be more than ready to bring MSW into your app and start mocking any kind of API you're using!