There are certain addons for almost all common web browsers to ignore these CORS-errors and allow those requests even if there is no security header present. For testing purposes in my projects I’m using the “Moesif Origin & CORS Changer” addon, which is available in the Chrome addon store. It either allows to deactivate CORS-checks as a whole or on specific web pages (e.g. localhost).

Bypassing “cross-origin request”-errors on testing a web service locally

Developing a website with a REST-backend and XHR-requests to retrieve data from the underlying database requires a lot of early-on local testing. However, in this case the resource is coming from a different origin and modern web browsers block them (CORS error). Is there any way to bypass this behaviour in the development stage?

How to run Apache And Nodejs together?

Today i was facing the problem to run nodejs on a server which is already running apache as webserver. So i had to choose a different port for the node app, but i didn’t want to enter an url like this So how can I achieve this, without entering the port at the end of the domain?
Subscribe to domain