What is the difference between PathParam and PathVariable in Spring Boot?
Answers
Answered by
2
Answer:
@PathParam is a parameter annotation which allows you to map variable URI path fragments into your method call. @PathParam is a parameter annotation which allows you to map variable URI path fragments into your method call. @PathVariable it is the annotation, that is used in the URI for the incoming request
Similar questions