A modern, feature-rich HTTP API testing tool built with WPF and .NET 10.
- Support for GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS methods
- Request headers, query parameters, and body editing
- Multiple body types: None, JSON, Form-URL-Encoded, Multipart Form, Raw Text, Binary (file upload)
- Request timeout configuration
- Response viewer with status code, headers, and body
- None
- Basic Auth (username/password)
- Bearer Token
- API Key (header or query parameter)
- OAuth 2.0 (Client Credentials / Authorization Code)
- Create and manage multiple projects
- Organize API requests within projects
- Save and load projects from disk (.httptool format)
- Import/Export support:
- Postman Collection v2.1
- HAR (HTTP Archive)
- Insomnia Export
- Swagger/OpenAPI 3.0
- Define reusable variables with
{{variable}}syntax - Variable substitution in URLs, headers, and body
- Cookie Manager
- Proxy Settings
- SSL/TLS Settings
- WebSocket / SSE client
- Request History
Generate ready-to-use code snippets in 8 languages:
- C# (HttpClient)
- Python (requests)
- JavaScript (fetch)
- Java (HttpURLConnection)
- Go (net/http)
- PHP (cURL)
- Ruby (Net::HTTP)
- cURL
- Windows 10 / 11
- .NET 10.0 Runtime
# Clone the repository
git clone https://github.com/aduskin/HttpTool.git
cd HttpTool
# Build the solution
dotnet build HttpTool.slnx
# Run the desktop application
dotnet run --project HttpTool.Desktop- Create a project — use
Ctrl+Nor File > New Project - Add a request — use Edit > New Request
- Configure the request — set URL, method, headers, body, auth
- Send — click the Send button or press
Enterin the URL bar - View the response — status code, headers, and body are shown in the right panel
| Shortcut | Action |
|---|---|
| Ctrl+N | New Project |
| Ctrl+O | Open Project |
| Ctrl+S | Save Project |
| Alt+F4 | Exit |
HttpTool/
├── HttpTool.Core/ # Domain models, interfaces, enums
│ ├── Enums/
│ ├── Interfaces/
│ └── Models/
├── HttpTool.Infrastructure/ # Service implementations
│ └── Services/
├── HttpTool.Desktop/ # WPF UI application
│ ├── Converters/
│ ├── Themes/
│ ├── ViewModels/
│ └── Views/
└── ThirdParty/ # AduSkin UI library
- UI: WPF (.NET 10), AduSkin
- MVVM: CommunityToolkit.Mvvm
- DI: Microsoft.Extensions.Hosting
- HTTP: System.Net.Http.HttpClient
- WebSocket: System.Net.WebSockets
- Serialization: System.Text.Json
欢迎热心网友们共同来维护这款软件
