Questions tagged as 'cors'

0
answers

CORS error XMLHttpRequest can not load [closed]

I have the following problem:    XMLHttpRequest can not load Whenever I send data from Angular to PHP . My PHP looks like this: header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET,...
asked by 31.01.2017 / 17:19
2
answers

What is the meaning of CORS?

I always see the CORS word related to an error occurring when trying to make a XmlHttpRequest request for a given page, which does not have the same domain as the source. Example:    XMLHttpRequest can not load link . Response to...
asked by 04.08.2016 / 18:14
1
answer

Cors Api Google Maps

I'm developing a system made in Silex / PHP and the frontEnd of it is being done in AngularJs, I have a method in it that I'm wanting it to do a search in the Google Maps API to return me a certain route, but every time I returns the following e...
asked by 07.07.2015 / 18:59
0
answers

Changing ngResource's save and using CORS (Cross Domain)

I'm developing an application with angular, and I'm having a problem with the ngResource module. I need to call a URL from another system, so I've already added the required headers in the other application. However in my request I need to ca...
asked by 06.05.2015 / 21:05
1
answer

How to consume an API "without permission" [duplicate]

In the searches I did, I discovered that it is not possible to consume an API if it does not release its host on the server (backend), but I hope it is mistaken, this is the reason for this question, is there any method to consume an API "with...
asked by 27.10.2018 / 06:13
1
answer

Error accessing cori api

Personal I'm trying to access a wikipedia service with JQ, but this in returning cors error, could someone help me with a code to access this service correctly. Url: link error Blocked cross-origin request: The Same Origin Policy prev...
asked by 29.06.2018 / 18:34
2
answers

Cross origin is not working with angulasJS and PHP

I'm trying to download a file through angularJS generating on a php page: PHP Page header("Access-Control-Allow-Origin: *"); include('conn.php'); $arquivo = 'Contratos_Pendentes.xls'; $tabela = '<table border="1">'; $tabela .='<...
asked by 08.09.2015 / 23:34
1
answer

How to enable CORS for web page access from a different domain in Asp.Net MVC

I'm developing an application that is communicating with Secure Paging Checkout through the Web Server link that is working perfectly, after making the payment PagSeguro provides the possibility to indicate a page in my application to receive...
asked by 15.10.2018 / 14:40
1
answer

Cross-Origin Golang with gorilla / mux

In my application I am using the gorilla/mux package next to gorilla/handlers to enable / configure CORS of my application, I currently have an api in GO and a frontend application in vue , in my application...
asked by 31.05.2018 / 17:25
1
answer

Nodejs ignore request POST made by Angular

Context: I'm using a virtual machine, ng serve is running on port 4200, and nodejs on port 8024, when I try to send data to the server nothing happens, the part of the angle is apparently error-free. When I use postman to send a...
asked by 24.06.2018 / 21:57