Loading video...

Video Failed to Load

Go Home

Chrome Dev Tools 💡 You may not know that we can override response headers in Chrome Dev Tools 🤩 This can be very handy for handling CORS errors locally until they get fixed from the API server ✅👇

24,460 views • 2 years ago •via X (Twitter)

9 Comments

Shripal Soni's profile picture
Shripal Soni2 years ago

Get access to 230+ such practical and well-illustrated frontend tips along with 130+ code playgrounds to see the tips in action: (🔥 50% off for a limited time)

Sketchhnotes's profile picture
Sketchhnotes2 years ago

CORS issue always cause pain while working with API. This tip helps!

Shripal Soni's profile picture
Shripal Soni2 years ago

Yeah, glad you found this tip helpful 🙌

Đào Hoàng Sơn's profile picture
Đào Hoàng Sơn2 years ago

I usually start a Chromium instance with `--args --disable-web-security` to ignore all kinds of restrictions during development.

Shripal Soni's profile picture
Shripal Soni2 years ago

I have never used that. Thanks for adding. What are the disadvantages/implications of doing that?

murzin's profile picture
murzin2 years ago

holy shit my life is saved now thanks, stranger

Ajay Yadav's profile picture
Ajay Yadav2 years ago

Nice tip, thanks for sharing shripal.

Shripal Soni's profile picture
Shripal Soni2 years ago

Glad you liked it, Ajay 🙌

Sujal Shah ✦'s profile picture
Sujal Shah ✦2 years ago

This is super useful, thanks for sharing!

Related Videos