The routeman blog

Practical guides to Postman collections, API testing and Python web frameworks. RSS feed

How to generate a Postman collection from Django REST framework

Step-by-step: turn a Django REST framework API into a ready-to-use Postman collection with bodies, JWT login and environments, without drf-spectacular or drf-yasg.

FastAPI to Postman: better than importing openapi.json

Importing /openapi.json gives you URLs. Here's how to generate a FastAPI Postman collection with a working OAuth2 login, saved tokens, valid Pydantic examples and environments.

Flask API to Postman collection without Swagger

Create a Postman collection from a Flask app with blueprints and flask-jwt-extended, without flasgger, apispec or YAML docstrings. Real output included.

Export every Django URL to Postman, including forms and CSRF

How to turn a plain Django project (function views, class-based views, ModelForms, JsonResponse) into a Postman collection, and make CSRF work in Postman.

Smoke-test a Python API in CI with Newman

Generate a Postman collection from Django, Flask or FastAPI on every build and run it with Newman to catch 500 errors before deploy. GitHub Actions and GitLab CI examples.

Postman: save a JWT access token automatically after login

The Postman test script that stores access and refresh tokens from any login response, explained line by line, plus how routeman adds it to generated collections for you.

Introducing routeman: Postman collections without OpenAPI

Why we built routeman, a free CLI that reads Django, DRF, Flask and FastAPI code directly and writes a ready-to-use Postman collection, and how it works under the hood.