Preflight Request

Subtitle

Simple Request

Title Text

The preflight request is sent before the original request, hence the term “preflight.”

The purpose of the preflight request is to determine whether or not the original request is safe (for example, a DELETE request). 

The server will respond to the preflight request and indicate whether or not the original request is safe.

If the server specifies that the original request is safe, it will allow the original request.  Otherwise, it will block the original request.

Demo

Preflight Request

By Sagar Mal Shankhala