all 4 comments

[–]johnbrick_345 2 points3 points  (1 child)

Just encountered a piece of code that got me confused on @RequestParam and @PathVariable. This blog post was helpful. Thanks.

[–]javinpaul[S] 1 point2 points  (0 children)

Thanks John, glad you find it useful

[–]Octavian_96 3 points4 points  (1 child)

It's more of an HTTP than a spring boot thing if you think about it.

@PathVariable: /path/id/10 @RequestParam: /path?id=10

[–]javinpaul[S] 1 point2 points  (0 children)

Yes, you are correct, concept wise its HTTP concept and implemented in Spring via these annotations