About 55 results
Open links in new tab
  1. What is the difference between @RequestMapping and @PostMapping

    Jul 14, 2019 · From the @PostMapping docs : Specifically, @PostMapping is a composed annotation that acts as a shortcut for @RequestMapping (method = RequestMethod.POST). So it is only …

  2. What is @PostMapping annotation in Spring Web MVC?

    Feb 12, 2018 · @PostMapping is a composed annotation that acts as a shortcut for @RequestMapping(method = RequestMethod.POST). @PostMapping annotated methods handle …

  3. Can someone please clear the difference between @GetMapping and ...

    Jan 13, 2020 · Can someone please clear the difference between @GetMapping and @PostMapping in spring also can we use these annotations at one another's place?

  4. java - Understanding and Leveraging @PostMapping for Resource …

    Dec 29, 2023 · I gone through experience developer spring boot code, he used @PostMapping for create, update, delete resource. with some Id check logic he decide whether resource should be …

  5. When to use @RequestMapping, @GetMapping and @PostMapping …

    Dec 11, 2020 · When to use @RequestMapping, @GetMapping and @PostMapping in Spring Boot? Asked 5 years, 3 months ago Modified 5 years, 3 months ago Viewed 6k times

  6. Spring - Post Mapping - Stack Overflow

    Nov 20, 2021 · @PostMapping("/test") public boolean test(@RequestParam String username, @RequestBody String data) { //code and stuff } In the reference documentation we can read the …

  7. java - PostMapping with Parameters from URI - Stack Overflow

    Oct 18, 2019 · PostMapping with Parameters from URI Ask Question Asked 6 years, 5 months ago Modified 6 years, 5 months ago

  8. Diferença entre RequestMapping e PostMapping - Stack Overflow em ...

    A diferença é que @PostMapping faz parte de um grupo predefinido de anotações compostas que internamente usam @RequestMapping. Essas anotações funcionam como atalhos que servem para …

  9. PostMapping Spring boot annotation is not working

    Apr 9, 2020 · PostMapping Spring boot annotation is not working Ask Question Asked 5 years, 11 months ago Modified 5 years, 11 months ago

  10. Difference between @PostMapping and @PutMapping?

    Jun 29, 2022 · What is the actual difference between those two? Both can use request bodies I believe. I read that PutMapping is used to update data and PostMapping to post new data. Is it more for …