Earn More by Sharing What You Love
Do you create content for developers working with .NET, C#, Java, Python, or Node.js? Turn your expertise into extra income!

Tim Corey
12m 17s
In the video "PUT, PATCH, and DELETE: Building a Postman Clone Course" by Tim Corey, we continue building a Postman clone by learning how to handle the remaining HTTP verbs. In the previous lesson, we implemented POST commands along with GET requests. This lesson focuses on PUT, PATCH, and DELETE, completing the basic functionality of our own Postman-style API client. Following Tim's guidance gives us a deeper understanding of how APIs work and how developers interact with them programmatically.
Tim starts the lesson with an introduction to the new functionality, explaining that this is lesson number eight in the complete course. He stresses that while this project is beginner-friendly and could serve as an example for a portfolio, it's important to make your work unique rather than just copying code directly.
Tim begins by showing the setup of the app. Currently, the dropdown menu allows selecting GET and POST. To build a fully functional Postman clone, we need to add PUT, PATCH, and DELETE to the options list.
In properties, Tim updates the dropdown items so that all five HTTP verbs appear as choices: GET, POST, PUT, PATCH, DELETE. He emphasizes that the dropdown selection must match the Enum used in the backend, which defines valid HTTP actions for the API client. This ensures that when a user selects an option from the dropdown, the process correctly maps it to the underlying code logic.
Tim explains how the app converts the user's selection in the dropdown into a specific HTTP request method. The system first validates the URL entered in the form HTML input, then parses the selected choice as an HTTP action in plain JavaScript.
This setup allows the app to pass three key pieces of information to the CallApiAsync method:
This ensures the Postman clone can process different types of requests and return the correct response JavaScript to display in the response HTML section.
Tim demonstrates the code needed to handle PUT, PATCH, and DELETE:
Tim notes that DELETE is slightly different because it doesn't return content - just a success confirmation. These changes are implemented entirely in plain JavaScript, modifying the CallApiAsync method to handle all choices and actions.
Tim emphasizes the importance of verifying that each HTTP method works as expected.
Through this process, Tim illustrates how a Postman clone can perform all CRUD operations: Create (POST), Read (GET), Update (PUT/PATCH), and Delete (DELETE).
Tim summarizes the key steps and code changes needed to enhance the API client:
He notes an optional enhancement: for DELETE, you could return a simple success message instead of serialized output, streamlining the user experience.
At this point, the Postman clone is fully functional with all five HTTP verbs. Users can enter a URL, submit JSON data through a form JavaScript editor, and receive responses in the response HTML display.
However, Tim points out some additional features that could enhance the application:
These are opportunities for developers to extend the clone and make it more versatile.
Tim challenges viewers to continue building and improving their Postman clone:
He stresses that practice is key: building, testing, and iterating on your project helps you understand APIs and programming concepts deeply.
Tim wraps up the video by encouraging experimentation. He enjoys tinkering with test applications and emphasizes that developers improve through repeated iteration.
While the GitHub code for the series is not immediately provided, it may become available in the Dev Pass in the future. For now, the goal is to let learners build their own Postman clone from scratch, practicing setup, process, and code implementation while making the project uniquely theirs.
By following Tim's approach, developers can create a functional API client, understand HTTP methods, and produce a portfolio-ready project that demonstrates practical skills with form HTML, response JavaScript, and JSON processing.
Do you create content for developers working with .NET, C#, Java, Python, or Node.js? Turn your expertise into extra income!
Join our newsletter, you’ll get exclusive access on article updates. We value your privacy