Can Cloudflare handle preflight requests (OPTIONS)?

Responsive Ad Header

Question

Grade: Education Subject: Support
Can Cloudflare handle preflight requests (OPTIONS)?
Asked by:
51 Viewed 51 Answers
Responsive Ad After Question

Answer (51)

Best Answer
(307)
Yes, Cloudflare handles preflight requests (OPTIONS). The `Access-Control-Allow-Origin` header must be set to allow the preflight request, and the server must respond with the appropriate preflight response. This is necessary because the browser needs to check if the request is allowed before proceeding.