Preflight Request

noun

say it: “PREE-flyt rih-KWEST” /ˈpriˌflaɪt rɪˈkwɛst/

An automatic OPTIONS request a browser sends before some cross-origin calls, to ask the server whether the real request is allowed.

What is Preflight Request?

A preflight request is an automatic OPTIONS request the browser sends before certain cross-origin calls, asking the server if the real request is allowed under CORS.

In a sentence

  • “The Network tab showed an OPTIONS preflight request before each DELETE.”
  • “The preflight request failed, so the browser never sent the real PUT.”

Level: Freelancer · More REST API terms at this level

Updated