How can I view CORS pre-flight OPTIONS requests in my browser's console?

Viewed 3911

I'm looking for a way to view the CORS pre-flight OPTIONS request when I make a CORS request. I wanted to see the server's response headers to help me debug a CORS issue I'm experiencing, but I couldn't find a a way to do this in Chrome or Firefox, in the Network tab or console of either.

I also installed the HTTP Header Live addon, and it didn't help.

I'm using jQuery.get(url); to trigger my CORS request, where url is a URL at a different domain.

1 Answers

I'm using jQuery.get(url); to trigger my CORS request

This will trigger a simple request without a preflight OPTIONS request.

You haven't fulfilled any of the conditions required to trigger a preflight.

Since a preflight isn't being made, none show up in the developer tools.

Related