I know that only in some specific cases, the browser won't send the preflight first.But when I'm on the some other site page and made a request in the Chrome dev tools like that :
$.get('http://127.0.0.1:8080/hello')
Then There would be two request sended:
I tried the fetch API as well, and it just worked the same way. I wonder why it would send a preflight, even though I just do a simple request.