Описание тега preflight
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.