Skip to main content

All Questions

Tagged with
0 votes
1 answer
55 views

ASP.NET Core 8 Web API + Ajax call to controller: Completely disable Cors

I created a website with API using .NET 8 and Razor, and I'm hosting my website using AWS Elastic Beanstalk. My website allows to create and save tests, and it works just perfectly from my side, not ...
Diego Perez's user avatar
  • 2,588
0 votes
0 answers
54 views

How do I fix this CORS problem, when doing a simple get request with JQuery Ajax?

I'm trying to make a website that triggers a webhook to trigger an Alexa Routine using https://trigger.esp8266-server.de/. The request goes through fine and it works fine, but in the console, it's ...
Grantie's user avatar
  • 11
-1 votes
1 answer
43 views

CORS policy errors while deploying my app to cloud

I have tried to deploy my webapp to aws VM, after creating the vm and installing tomcat , when I deployed it i got this errors on the developper tools on chrome Access to XMLHttpRequest at 'http://...
Chayma Jebri's user avatar
0 votes
0 answers
30 views

How does Chrome devTools create General Header for a request?

According to the docs: In the General section, DevTools shows you human-readable status message next to the received HTTP status code. How is the status code in this General section created? I'm ...
BigBen_Davy's user avatar
0 votes
0 answers
35 views

API - CORS SESSION Problem with AJAX POST Requests

i read many articles about CORS and AJAX and Headers, but nothing worked so far vor me. My Problem: i have Domain A, the php script on it sends an POST Request to DomainB.com/api/login to log into an ...
Roland Cloos's user avatar
0 votes
0 answers
88 views

Enable CORS policy IN OData Service

The below error is shown when I hit this OData API with simple HTML page from jQuery AJAX call already set all header even enable CORS from front end but still giving me this error where I enable this ...
Raja Chohan's user avatar
0 votes
0 answers
54 views

AJAX returns CORS error while cross origin requests is allowed at the destination page; http protcol

I have a domain - let's call it http://example.com, and a local host; I need to exchange data between the local host and the http://example.com/chat/login.php The login authorization will be happening ...
Merlin the Immortal's user avatar
0 votes
0 answers
42 views

CORS policy: Response to preflight request - JavaScript/SharePoint Server

I have an issue connecting to my SharePoint server. This issue occurs whenever I try connecting my code from the frontend to the SharePoint server, I do not have a backend for this. Basically, I am ...
Stephie B.Natalia's user avatar
0 votes
1 answer
229 views

CORS request with AWS API Gateway using x-api-key header

Trying to get a CORS request working with a really simple REST based APIGateway setup on AWS. I have a basic "hello world" lambda function defined and a GET method attached to the / resource ...
FiniteRed's user avatar
  • 830
0 votes
0 answers
31 views

DJango - JS - Ajax - Upload file to NRM/Nexus (another domain) - CORS Issue

PLEASE HELP With the following JS function `function nexusUploader(file) { let filename = file.name, formData = new FormData(); formData.append('package', file); $.ajax({ url: ...
user1548923's user avatar
1 vote
0 answers
81 views

why am i facing the CORS Policy problem in .net 4.5.2 while i configered it in my WebAPIConfig class?

i have a project (WebAPI .Net 4.5.2), when i created the APIs and tried to access it from ajax calls and flutter application i got the CORS Policy issue then i tried all the solutions i found in my ...
mahmoud emad's user avatar
0 votes
0 answers
53 views

CORS policy error occurring with GET mapping and working fine with POST mapping

I have implemented a springboot project with multiple controller of GET and POST mapping, in this specific controller i have been facing cors policy issue as Access to XMLHttpRequest at 'https://...
ameya Patil's user avatar
0 votes
0 answers
105 views

Am I calling this API correctly from frontend js HaveIbeenpwned API

I am trying to call this API. I have to pass a hibp-api-key which is the key and an user-agent as headers. As I am calling from frontend I got cors error; I fixed that by using an free proxy server ...
Blox Guard's user avatar
0 votes
0 answers
30 views

Ajax request results in "CORS header 'Access-Control-Allow-Origin' missing"

I'm working on my local machine using WAMP and I'm trying to retrieve an image from an external domain using AJAX to convert it into data-uri format with the following code : var xhr = new ...
Klax Cuy's user avatar
0 votes
0 answers
62 views

Error in javascript embedded in HTML - Response to preflight request doesn't pass access control check: It does not have HTTP ok status

I am doing a PoC. I have added the following javascript code in HTML page. This function get executed on button click but, it is not able to log response in console due to CORS issue. function ...
ameya's user avatar
  • 301

15 30 50 per page
1
2 3 4 5
90