A preflight is an HTTP OPTIONS request that browsers (automatically on their own) send to servers before trying certain kinds of cross-origin requests — in order to determine if a server has opted-in to receiving those kinds of requests.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Preflighted_requests