Spring APIs

  • When making APIs in Spring, you tell Spring what request data you care about
  • And what the response should look like
  • Spring actually extracts the data from the request and calls the proper methods
  • The method return value tells Spring how to respond
  • The combination of URL and method tell spring what method to call

11 / 31