Matching request types

Report a typo

Match each request with its REST type:

  1. @GetMapping("/movies/{movieId}")
    public List<String> getComments(@PathVariable String movieId)
  2. @PostMapping("/movies")
    public List<String> getComments(@RequestParam String movieId)
  3. @DeleteMapping(path = "/movies")
    public List<String> getComments(@RequestParam String movieId)

Match the items from left and right columns
GET
POST
DELETE
3
1
2
___

Create a free account to access the full topic