Practice Exercises

Let's practice these exercises on your own setup and learn how to make your custom web server accept data from a form or JSON.

1. T-shirt color

Add a "/tshirt" route to your server for handling the submission of form data containing a size and a color field. In the route callback, send back a confirmation message to the client.

Get hands-on with 1400+ tech skills courses.