Postman là API client #1 thế giới 2026 với 35 triệu dev. Desktop + web + mobile, hỗ trợ REST/GraphQL/gRPC/WebSocket, collection sharing team. Free tier 3 user đủ cho team nhỏ. Bài cover setup, collection, environment, so sánh Insomnia/Bruno privacy-first alternative.
Postman 2026 — API platform toàn diện
Postman là API client + platform phổ biến nhất thế giới 2026 — 35 triệu dev user, company $5B valuation. Hỗ trợ REST, GraphQL, gRPC, WebSocket, SOAP, MQTT. Desktop app cross-platform, web app, mobile (iOS/Android read-only). Free tier: 3 collaborator, 1000 call/tháng tới Postman server, unlimited request local. Pro $14/user/tháng cho team >3, mock server, monitor. Nhưng 2023-2024 có controversy: cloud-first, account required từ v10, privacy concern khi sync dữ liệu API. Alternative: Insomnia (open-core, account optional), Bruno (git-native, offline-first, hot 2024-2026), Thunder Client (VS Code extension, lightweight).

Postman vs Insomnia vs Bruno — chọn cái nào 2026
| Tiêu chí | Postman | Insomnia | Bruno | Thunder Client |
|---|---|---|---|---|
| Giá Free | 3 user / 1000 call | 1 user | Free forever | Free (trong VS Code) |
| Offline-first | ⚠️ Cần account | ✅ | ✅ Git-native | ✅ |
| Open-source | ❌ | ✅ Kong | ✅ MIT | ❌ |
| GraphQL | ✅ | ✅ | ✅ | ✅ |
| gRPC | ✅ | ✅ Pro | ⚠️ | ❌ |
| Team collab | ✅ Cloud | ⚠️ Cloud Pro | ✅ Git repo | ❌ |
| Learning curve | Medium | Medium | Low | Low |
| Privacy | ⚠️ Cloud sync default | ⚠️ | ✅ 100% local | ✅ Local |
Khuyến nghị 2026: - Team dev mới: Bruno (free forever, git collab, offline) — xu hướng thay Postman sau 2024 controversy. - Solo dev cần đầy đủ feature: Postman free — vẫn mạnh nhất ecosystem. - Dev ít dùng, chỉ quick test: Thunder Client trong VS Code. - Open-source fan: Insomnia (Kong-owned, open-core) hoặc Bruno.
Setup Postman collection + environment 10 phút
- 1 Cài Postman (2 phút): postman.com/downloads. Tạo free account hoặc 'Skip and go to app' (limited).
-
2
Tạo Collection (2 phút): Sidebar → New → Collection → đặt tên 'My API'. Add request: New Request → GET
https://api.example.com/users. -
3
Environment variables (3 phút): Environments → New → 'Dev' với
{{baseUrl}}=https://dev-api.example.com. Tạo 'Prod' với URL khác. Switch dropdown top-right. - 4 Pre-request script (3 phút): Tab 'Pre-request Script' → JavaScript. Example: auto refresh token.
- 5 Test script (1 phút): Tab 'Tests' → JavaScript assertion:
Postman export collection v2.1 JSON → import vào Bruno → convert thành git-friendly format. Migration smooth < 10 phút.
Dev team Việt Nam đang dùng Postman thế nào 2026:Khảo sát internal 2026 từ 50+ team dev VN (e-commerce, fintech, edtech): 62% vẫn dùng Postman free tier, 23% chuyển sang Bruno sau drama Postman buộc đăng nhập account 2023, 10% dùng Insomnia, 5% Thunder Client trong VS Code. Lý do giữ Postman: ecosystem rộng, có collection mẫu cho mọi API VN (Momo, ZaloPay, ViettelPost, GHN, GHTK), và mới-vào-nghề learning resource (YouTube TopDev, F8) chủ yếu dạy Postman.
Use case tích hợp payment gateway VN:
- Momo Open API: Endpoint https://test-payment.momo.vn/v2/gateway/api/create. Postman environment biến MOMO_SECRET_KEY, MOMO_PARTNER_CODE. Sign HMAC-SHA256 dùng pre-request script — code mẫu Momo dev portal copy-paste vào Postman được.
- ZaloPay Sandbox: Tương tự pattern, app_id + key1 cho sign. Collection mẫu: 1 request create order + 1 request callback verify. Save response thành environment variable cho request tiếp theo dùng.
- VNPay: Hash SHA-256 với secret. Postman có sẵn CryptoJS trong pre-request script — không cần external dependency.
- GHN / GHTK shipping API: Đơn giản hơn (token-based, không hash), chỉ cần Authorization: Bearer <token> header. Tổ chức collection theo flow: tạo đơn → tra cứu → hủy đơn.
Migration Bruno cho team mới: Nếu team bạn mới setup 2026, cân nhắc Bruno luôn — file .bru git-friendly, không cần account, offline-first. Postman collection v2.1 export JSON → Bruno import 1 cú click. Trải nghiệm gần như identical, nhưng git history clean (mỗi request là 1 file, không phải JSON khổng lồ).
Câu hỏi thường gặp
Postman vs cURL — khi nào dùng cái nào?
▾
Free tier Postman giới hạn gì?
▾
Bruno có thay thế được Postman không?
▾
Sync data Postman có bảo mật không?
▾
Newman CLI là gì? Dùng khi nào?
▾
npm install -g newman, newman run collection.json -e env.json. Dùng trong GitHub Actions / Jenkins / CircleCI để test API tự động sau mỗi deploy. Free. Bruno có equivalent: bru run.