My first Python project: Postman Clone
I’ve been working on a small project called postman_clone to practice Python and learn more about how APIs and HTTP requests actually work.
I didn’t start with all these features at once. I started with the basics, then kept adding things as I learned. I worked with functions, conditions, user input, JSON, error handling, and HTTP requests, and little by little the project started becoming more complete.
Right now, my project can handle:
- GET
- POST
- PUT
- DELETE
- JSON request bodies
- An optional header
- An optional query parameter
- Basic error handling for requests and JSON
There’s still a lot I want to improve. I want to make the code cleaner, add support for multiple headers and query parameters, improve the error handling, and make the whole thing feel more like an actual API testing tool.
I’m still learning, so I’m posting the code here to get some feedback from people who have more experience with Python.
If you see something I could improve, or if there’s something you think I should add next, I’d really appreciate the advice 🙌
This is still a work in progress, but I’m happy with how far I’ve gotten so far.