3 ms·
A few years back I built an API with Django REST Framework, and the client wanted a thin client. I opened up Postman, and generated Python code from the request
by giancarlostoro 3y ago
A few years back I built an API with Django REST Framework, and the client wanted a thin client. I opened up Postman, and generated Python code from the requests I was making while testing, then I made it as reusable / generic as possible, it was insanely thing, even for not using requests, I forgot what the built-in for Python 2 was called.
So I havent had to since, but Postman's code generation is enough to give you a boilerplate to go from, but I think also openAPI has code generator tools. I do think making something so repetitive is kind of dull when tooling can automate so much of it and then you refine it as needed.