So obviously there are security issues, with all browsers (Acces-Control-Allow-Origin). To get rid of that problem I implemented an upload method for accounting-data, also added the index.html to dropwizard, to avoid this problem. Now works perfectly fine, and i'm able to proceed on index.html again.