Creating the POST /items route
In the last few video of this module, we're going to bring together everything we've learned so far in this module together and create a properly functioning endpoint for our API.
This endpoint will allow consumers to create a new item by making a POST request to the API with a JSON object.
Create in Postman
Let's start this process by going to Postman and creating a new request and calling it "POST /items", and clicking "Save".
Click to load comments...