#api
10 topics tagged api. Solved threads are marked with a check.
Start here: most-read #api topics
- 'blocked By CORS Policy' Calling A Form-Handling Service From A Static Site On A CDN
- why does a form-handling service reject my preflight request from a vue app on a static host??
- Preflight Request Failing For A JSON POST From My Frontend
- Postman Works, The Browser Says NO. CORS Vs A Weather API
- orm making hundreds of queries for one api call
I'm building a React app on localhost:5173 and trying to fetch data from a payment provider's API. postman returns teh data perfectly. the browser gives me this: The console says teh request has been blocked by CORS policy, no Access Control Allow Origin…
ok so day two of fighting CORS. a static site on a CDN calls our own Express backend, and every request dies with a CORS error. i've tried adding headers to my fetch call, setting mode to no cors, and installing a browser extension that disables CORS. The…
ugh. everything worked on my machine. Deployed a React app on localhost:5173, and now calls to a payment providers API fail with a CORS error: The preflight OPTIONS request seems to fail before the real request is even sent. Im sending an Authorization…
ok so day two of fighting CORS. a browser extension popup calls our own Express backend, and every request dies with a CORS error. i've tried adding headers to my fetch call, setting mode to no cors, and installing a browser extension that disables CORS. The…
help!! day two of fihgting CORS, a React app on localhost:5173 calls a form handling service, and every reqeust dies with a CORS error. ive tried adding headers to my fetch call, setting mode to no cors, and installing a browser extension that disables CORS.…
say ur frontend sends fetch(url, { method: "POST", headers: { "Content Type": "application/json" }, credentials: "include" }) to an API on a different origin, and the browser blocks it. GETs are fine. The API does set…
ok so say your ORM backed endpoint is fine locally and slow in production. The query log shows the same SELECT ... WHERE id = ? repeated hundreds of times per request. locally everything feels instant cuz the test…
I'm building a static site on a CDN and trying to fetch data from a form hnadling service. postman returns the data perfectly. the browser gives me this: the console says the request has been blocked by CORS policy, no Access Control Allow Origin header is…
ok weird one im builidng a React app on localhost:5173 and trying to fetch data from a weather API, postman returns the data perfectly... the browser gives me this: The console says the request has been blocked by CORS policy, no Access Control Allow Origin…
so annoyed rn im building a Vue app on a static host and trying to fetch data from a form handling service. Postman returns the data perfectly. The browser gives me this: The console says teh request has been blocekd by CORS policy, no Access Control Allow…