PostMapping

Creating and testing @PostMapping.

What's in the video?

  • Using @PostMapping to create a POST endpoint
  • Testing our endpoint
  • Using the Javascript Console in your browser to execute POST requests
  • Using the @RequestBody annotation accept JSON submissions
  • How to validate data users send in