String locationUri = ServletUriComponentsBuilder .fromCurrentRequest() .path("/{id}") .buildAndExpand(employeeId) .toUriString();