No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "null" is therefore not allowed access. The response had HTTP status code 400.
response.setHeader ("Access-Control-Allow-Origin", "*");
response.setHeader ("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");
response.setHeader ("Access-Control-Max-Age", "3600");
response.setHeader ("Access-Control-Allow-Headers", "Origin, Xcopyright Requestedhouse, Content-Type, Accept");
all settings to the * sign will not work either