Skip to main content

All Questions

Tagged with
0 votes
0 answers
22 views

Unity WebGL Multiple CORS header ‘Access-Control-Allow-Origin’ not allowed

I have a Unity webGL training app. The app can run on any PC. It runs a number of php scripts on the server to logon and update test scores etc in a database with mysqli. It checks whether a user ...
Dradb's user avatar
  • 1
0 votes
0 answers
35 views

Blocked CORS-request from a file that has the needed headers

I'm trying to have a game I've made access an API that I don't want exposed so I'm trying to request it from proxy.php but it keeps on getting blocked. Code This is the code in the proxy.php file: <...
alexgilseg's user avatar
0 votes
0 answers
14 views

allowing cors for custom header / all origin for a single custom api [duplicate]

I have a custom api which is set up to receive customer info from anyone, only able to be read or deleted by people who have a certain header which i had set and would have only been useable by admin ...
Hunter C's user avatar
-1 votes
0 answers
40 views

CORS Preflight Error on IIS for PHP/Angular: No 'Access-Control-Allow-Origin' in Response

I am getting the following error: has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested ...
Juanita Tocamelo's user avatar
0 votes
0 answers
46 views

how to add cors origin in public folder laravel

Access to font at 'http://127.0.0.1:8000/webfont.woff' from origin 'http://localhost:8001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource....
Artier's user avatar
  • 1,673
0 votes
0 answers
25 views

Im trying to send a authorization in my backend php using nextjs axios but it renders a CORS error

The issue I'm encountering involves CORS (Cross-Origin Resource Sharing) errors when attempting to make requests from my Next.js frontend application to a PHP API backend. Despite correctly setting ...
Leigh's user avatar
  • 81
-1 votes
1 answer
42 views

CORS issue when calling laravel api from React application

I have a laravel(8.12) backend application running on Xampp with PHP(8) on url http://localhost/testbe My frontend is running on http://localhost:3000 My frontend is making get api via axios. Axios ...
shailender999's user avatar
0 votes
1 answer
46 views

API is working from other domains but when I tried to call API from my subdomain it gives error

Access to XMLHttpRequest at ... has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Heders in preflight response. API is working from other ...
Jay Doshi's user avatar
  • 734
0 votes
0 answers
294 views

How can I get a video thumbnail from VK.com (Vkontakte)?

Preferably with JavaScript on the client side, but with PHP on the server if that's not possible. I know there's a video.get method in their API that returns an "items" array containing an &...
Esn024's user avatar
  • 128
0 votes
2 answers
94 views

No 'Access-Control-Allow-Origin' CORS error in Laravel 10 and ReactJS

We have deployed a Laravel 10 - React JS web application on windows server. API is working, tried it on postman. Web pages for our front-end is also working, except when executing api. It is showing a ...
Lemmuel Lapuz's user avatar
0 votes
0 answers
25 views

License key verification one server to another server using ajax in wordpress [duplicate]

I am trying to develop a wooCommerce extension for verifying license key one wordpress server to another wordpress server.I wrote the following code for the verification. This code is not working ...
devrashed's user avatar
0 votes
0 answers
42 views

How can I put a web with a login inside an iframe of another domain?

I'm trying to embed a page inside another. Both belong to different domains. I need to show a login page inside the iframe, and when a user logs show them the musical streaming service they signed up ...
Leo Mañach's user avatar
1 vote
1 answer
51 views

Symfony as API: CORS problem - Stopped propagation

I am currently working on a small project, where a little issue suddenly started arising. Requests from a Frontend, which is also local due to development purposes, started having CORS errors. The ...
Sordep's user avatar
  • 55
0 votes
0 answers
53 views

Sending credentials to subdomain API using XHR

I am currently trying to send images to an API on a subdomain, but it is failing. In devtools I can see there is a CORS error relating to a redirect on Preflight: Access to XMLHttpRequest at 'https://...
Tony Merryfield's user avatar
0 votes
1 answer
34 views

Override X-Frame-Origin SAMEORIGIN

So I have an API endpoint which holds a form. At a different domain, I render this form in an iframe. of course I get CORS errors. Now I want to override the X-Frame-Origin, but it keeps setting it to ...
MrDucky's user avatar
  • 51

15 30 50 per page
1
2 3 4 5
43