Java/JDI/jdi-mock-rest/src/main/java/com/epam/mock/web/ConfigurationHandlerController.java
@RequestMapping(method = RequestMethod.POST, value = "/manage")
    public ResponseEntity<Void> manage(@RequestBody ConfigurationHandler configurationHandler) {
        return configurationHandlerService.editMap(configurationHandler)
                ? new ResponseEntity<>(HttpStatus.OK)
                : new ResponseEntity<>(HttpStatus.BAD_REQUEST);
    }
@RequestMapping(method = RequestMethod.POST, value = "/manage")
    public ResponseEntity<Void> manage(@RequestBody ConfigurationHandler configurationHandler) {
        return configurationHandlerService.editMap(configurationHandler)
                ? new ResponseEntity<>(HttpStatus.OK)
                : new ResponseEntity<>(HttpStatus.BAD_REQUEST);
    }
Edit representation for method specified in sent parameter after processing HTTP.POST request (URL: .../manage).
@param configurationHandler Representation of response.
@return HttpStatus.OK if contains sent method, HttpStatus.BAD_REQUEST otherwise.