Skip to main content

All Questions

Tagged with
0 votes
0 answers
307 views

CORS error executing JavaScript function in Flutter WebView

I'm trying to load an AngularJS web in a Flutter application using WebViewController, the page is loading but throw an error when I try to make a call to a JavaScript function. The wen is located in ...
Juan Guerra's user avatar
0 votes
0 answers
88 views

AngularJS cross domain error: Access has been blocked by CORS policy: Response to preflight request doesn't pass access control check

I'm fairly new to AngularJs (I've only ever used Angular) and I'm trying to get some information from a domain other that the one my page is hosted in with a post request: self.generateSession= ...
iiiasminx's user avatar
0 votes
3 answers
70 views

Nest.js/Angular - CORS Enabled but still getting a CORS error while making requests

I am building a little calculator app to learn Nest.js and Angular. I have set up a server hosting a simple web API with a few endpoints, one of which returns a list of all the currently supported ...
Nathan Moore's user avatar
0 votes
1 answer
594 views

SAML authentication using Azure AD with .NET Core 6 and Angular - CORS error

Using .NET Core 6, I managed to successfully use cookie saml2 authentication using Azure AD as IDP, and the SP being my backend API. Tested with Swagger and it works as expected. I'm using these ...
Festim Cahani's user avatar
1 vote
0 answers
23 views

Cross-Origin Request Blocked Angular [duplicate]

I am working on an Angular(v13) project that it's backend is Java and web servers are Tomcat and Nginx. My project is on localhost but the APIs are on another address(DNS). When I run the ng serve ...
MonaK's user avatar
  • 65
0 votes
1 answer
117 views

AngularJS 1.4 post failed because browser doesn't add auto generated Headers

I am new to angularJS, our team just have very old project uses angularJS 1.4, the task sounds easy, just to add three custom header when we request to backend to tracking request this is original ...
Harry Zhang's user avatar
0 votes
0 answers
1k views

Access to XMLHttpRequest has been blocked by CORS policy: Response to preflight request doesn't pass access control check

I am trying to get data from an API from the internet, using Angular version 16, I tried everything but I still get the CORS error saying "Access to XMLHttpRequest at 'http://www.travel-advisory....
Eliana Maria's user avatar
0 votes
0 answers
218 views

Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response

I am using geoapify to generate address from latitude and longitude. Api Is working fine in postman, but when I am using it into my app. It is giving be cors policy error when I login into my website ...
Nitin Saini's user avatar
1 vote
0 answers
3k views

CORS error xmlhttprequest no 'access-control-allow-origin' header is present on the requested resource in Angularjs app

An Angularjs app is using a new connection to an AWS API GW service on a different domain. CORS has been enabled but am still getting error: Access to XMLHttpRequest at 'https://api.ap-southeast-2....
user1746582's user avatar
1 vote
1 answer
24 views

Avoid CORS filters in application.conf [closed]

Using Angularjs or vue need node .. and allow CORS requests like ReactJS does in conf file ? Is there a way not to allow CORS filters on server ?
user2259183's user avatar
1 vote
0 answers
162 views

Cordova page view cache vs $http cache vs CORS preflight caching

I am trying to understand the relationships between the different caching mechanisms or how one cache impacts another cache. My cordova app talks to my api server - and all works fine. But in an ...
rolinger's user avatar
  • 3,016
-1 votes
2 answers
34 views

angularJS post CORS

I am new to AngularJS and still learning. I have this angularJS code below to check my log-in credentials in my API. But upon log-in(clicking my log-in button) it does not hitting my break point in my ...
KiRa's user avatar
  • 924
-1 votes
1 answer
94 views

AngularJS/ c# WebAPI 405 method not allowed after URLrewrite

I'm trying to get Oath2 working in AngularJS. The issue I came across was the redirectURI was not allowed to have a # in it, So I removed it by using HTML5 Mode. This all seemed to be working okay ...
Imsopov's user avatar
  • 155
-1 votes
1 answer
261 views

Angular http get does not work for localhost response status -1

I have a simple webservice: @SpringBootApplication @RestController @RequestMapping(value="hello") public class Application { public static void main(String[] args) { ...
Ben Zhou's user avatar
1 vote
2 answers
1k views

Getting CORS error after deploying Spring boot service and UI through Google Compute Shell

I am new to google cloud and I have deployed a Spring Boot application and Angular JS application through Google Cloud Shell. Started Spring Boot app by "java -jar MyAppName.jar &" ...
Amit Singh's user avatar

15 30 50 per page
1
2 3 4 5
65