Category: JavaScript

Cors Thumbnail

CORS or how to be blocked during an HTTP request

Published on January 12, 2018 by Arnaud Martin

Have you ever encountered this kind of error when making an AJAX request to a JSON or XML file located on another domain?  

The reason could probably be related to CORS (Cross Origin Requests). In summary, the W3C has recommended this mechanism to secure HTTP requests between different domains. The recent browsers then all adopted …