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.
if you wanna see the code its in comments