Questions tagged as 'cors'

1
answer

CORS can be configured for Websocket?

I have an application that needs to communicate via WebSocket with two servers each in its own independent domain. Is it possible to configure CORS to allow this dual and simultaneous communication?     
asked by 25.02.2014 / 01:28
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
3
answers

CORS in NodeJS without the use of Frameworks

I'm creating an application in Phonegap and consuming an API provided through NodeJS. For this to happen, I need NodeJS to accept CORS. How do I enable CORS so that NodeJS accepts the request?     
asked by 15.02.2014 / 06:26
2
answers

Jquery iframe transport plugin works in IE10 cross domain

I need to post xml using Federal Justice webservices, but I can only do it using IE10 in compatibility mode. I received the information that the iframe plugin transport from jquery would overcome this difficulty. Is this real or should I make my...
asked by 27.02.2014 / 23:46
2
answers

CORS JAVA (ERROR)

I'm trying to connect to an API that was made in Java, but I always get the error when trying to connect (I want to feed a mobile application, done in JS / Cordova). When I connect (via Browser) I get it, the API returns and everything works...
asked by 06.06.2017 / 20:56
1
answer

Access-Control-Allow-Origin: * does not work for all my domains

I have four applications that use the same API, and Access-Control-Allow-Origin: * does not account for all, the only application that does not work is the one I'm using Zend Framework 2 and Symfony, I do not know if I could have anything...
asked by 11.02.2016 / 16:13
2
answers

How to release CORS for a given address?

I'm not able to release CORS to link , I'm using Spring Security . I encounter the following error:    XMLHttpRequest can not load link . Response to preflight request does not pass access control check: In 'Access-Control...
asked by 01.11.2016 / 13:07
3
answers

Error Access-Control-Allow_Origin not allowed [duplicate]

I'm trying to access another site from my program.php, but it's returning the message: XMLHttpRequest can not load In 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' link ' is therefore not allowed acce...
asked by 09.06.2015 / 01:11
2
answers

Function to create hash in SRI pattern

I was looking at a new specification W3C SRI (Subresource Integrity) , which roughly means Sub-feature integrity that promises to bring more security to features hosted on third-party (or in-house) servers already in use by BootstrapCDN , C...
asked by 09.03.2017 / 02:12
2
answers

How to properly configure CORS in Spring Boot?

First I'll tell you what happens! I developed a simple Spring Boot project to show on screen a GRID having as Frond-End the Angle, the java API request is port 8080 and the Angular port is 4200, as each one makes different requests I have dec...
asked by 14.12.2017 / 10:05