class ConfigController {

    @CrossOrigin(origins = "*")
    @PostMapping(value = "/configs")
    public HttpEntity<?> createConfig(@RequestBody Config info, @RequestHeader HttpHeaders headers) {
        return new ResponseEntity<>(configService.create(info, headers), HttpStatus.CREATED);
    }

}