Open
Description
hello, I can't understand what these line of code do.
URI location = ServletUriComponentsBuilder
.fromCurrentContextPath().path("/users/{username}")
.buildAndExpand(result.getUsername()).toUri();
return ResponseEntity.created(location).body(new ApiResponse(true, "User registered successfully"));
Metadata
Metadata
Assignees
Labels
No labels