A

Arogya • 850 Points
Hero

Q. Which annotation passes a variable in URL path?

  • (A) @PathVariable
  • (B) @RequestBody
  • (C) @Bean
  • (D) @Value
  • Correct Answer - Option(A)
  • Views: 1
  • Filed under category Fiegn Client
  • Hashtags:

Explanation by: Arogya
@PathVariable is used to pass dynamic values in REST endpoint URLs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.