An HTTP request header carries a small amount of data from client to server without putting it in the URI. Headers can also be managed on a response; in Spring MVC, a controller can return a ResponseEntity to control response headers and status. section 8.1.1 section 10.6
Choose how to send client data based on its role and size:
- Use request parameters for small key-value data in the URI; use headers for small data outside the URI. section 8.1.1
- Use path variables for small mandatory values, and the request body for larger amounts of data. section 8.1.1




