Here is function in controller:
@PostMapping("") public ResponseEntity create(@RequestBody String dateTime,