refactoring storeDoc methode
request missing content type