Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
hieupham
CORS
I am using axios to upload my image to this service
. I get some error about CORS
, but when I use Postman
, everything is ok
.
Please help me
. Thanks all
!
!
!
!
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,498
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
O
omar4289
•
10/27/23, 6:12 PM
Hello
, cors are security policies enforced by the browsers
. They do not apply in backend application
, or postman are not affected
.
O
omar4289
•
10/27/23, 6:13 PM
If you want to allow browsers to issue requests to your API endpoints
, you must return your website host in the
"Access
-Control
-Allow
-Origin
" header
H
hieupham
OP
•
10/27/23, 8:03 PM
i know that
, but how can i pass CORS when using CloudFlare API on the browser
C
Cyb3r-Jak3
•
10/27/23, 8:09 PM
You can
’t
. The Cloudflare API intentionally doesn
’t have CORS headers
. You need to run a proxy that adds CORS headers
.
Similar Threads
CORS
CD
Cloudflare Developers / pages-help
2y ago