Questions tagged as 'cors'

2
answers

Problem CORS in Angular 2 and PHP

I have a REST server for queries to a database running in PHP , which via GET can be consulted several data in JSON >. Previously there was a client on another server written in Javascript + JQuery , so I needed to use CORS to conne...
asked by 14.08.2017 / 17:17
1
answer

Problem "CORS" using AJAX and PHP

I have this code from JQUERY: $(document).ready(function() { listarDetalle(); }); function listarDetalle(){ var accion="listar"; var URLprotocol = window.location.protocol; $.ajax({ type: "POST...
asked by 16.08.2018 / 13:16
1
answer

Django CORS 'Access-Control-Allow-Origin'

I'm trying to redirect a Django View function to a page in PHP, currently hosted on my own computer. The fact is that I've seen that it gives me a crossover error because I'm calling another link from my own team. I have found a module cal...
asked by 29.01.2018 / 10:05
1
answer

Enable CORS on Jax rs (resteasy)

I am developing an example of a rest api using jax rs and get to the point of having to add support for CORS and be able to consume it from an app in React, the other day publish the REST API in an online server and when React consumption locall...
asked by 05.11.2018 / 20:21
2
answers

How do I solve the CORS problem in JavaEE and Angular

I have a CORS problem that I have no idea where it comes from, I am creating a REST service in JavaEE (Glassfish) and I have Front an Angular app consuming the aforementioned service, I am testing the token authentication with the JJWT...
asked by 29.05.2018 / 23:58
1
answer

Problem Ionic Http Requests

I have my api rest done in nodejs (express) which is local link , my configuration of cors de my api rest it's const cors = require('cors') app.use(cors()); then in my ionic application when I start ionic serve -c in my browser on my pc...
asked by 19.11.2018 / 16:35
0
answers

How to run the proxy included in the package.json for axios calls

I have a VUE application configured with a net.core application as backend To avoid cors problems, it would be ideal to configure a proxy. However my attempts were in vain, since I did not find a way to do it. The application is created wi...
asked by 17.08.2018 / 16:57
3
answers

Problem with the Cors Spring Boot and Angular 4

I am using a Api Rest with Spring boot with a basic auth of spring security, When I make the request to the backend with Angular it gives me as a result a problem with the Cors 'login:    1 Failed to load link : R...
asked by 22.04.2018 / 16:19
2
answers

Problem of Cors, in Ajax with PHP

Does anyone know why this error originates? I'm calling a file via ajax, and that's what's on the console. The caller and the receiver are in the same domain. what you are calling is a list for a select, if I open it from the direct URL if the l...
asked by 14.09.2017 / 01:06
1
answer

Add CORS to SOAP service with Ionic

is to make a query. I have a SOAP service to which I need to implement CORS to later consume this service from a mobile app on Ionic, but I do not know where to start or how to do it correctly. I know that the implementation of these in my Servi...
asked by 07.11.2018 / 23:06