Repository navigation
๐ HTTP Sandbox Viewer v0.1.1
A production-ready Flutter package for debugging HTTP requests with working sample APIs and optimized package size.
๐ง Key Improvements
- โ Working Sample APIs: All 5 sample APIs now use functional JSONPlaceholder endpoints
- ๐ฆ Optimized Package: 70% size reduction (232KB โ 68KB) with
.pubignoreoptimizations - ๐ซ Zero 404 Errors: 16/16 unique API paths verified to return HTTP 200
- ๐ฑ Enhanced UI: Improved center alignment in example applications
๐ ๏ธ What's Fixed
API Endpoints
- E-commerce API: Creative mapping using JSONPlaceholder (
/postsโ Products,/albumsโ Categories,/todosโ Orders) - OpenAPI JSON/YAML: Converted from non-working PetStore/Books APIs to JSONPlaceholder format
- All sample methods:
jsonPlaceholder(),postsCrud(),usersCrud(),ecommerce(),socialMedia()fully functional
Package Optimization
- Excluded development files:
summary.txt,mise.toml,CLAUDE.md - Excluded build artifacts:
build/directory,*.imlfiles - Excluded platform files:
example/macos/directory - Result: Clean, production-ready 68KB package
๐ Ready for Production
- โ Dry-run tests: Pass with 0 warnings
- โ Static analysis: 147 lint warnings (prefer_const_constructors only - non-blocking)
- โ Core functionality: All 5 package tests pass
- โ Real API testing: All endpoints verified working
๐ Usage
dependencies:
http_sandbox_viewer: ^0.1.1// Setup Dio with interceptor
dio.interceptors.add(HttpSandboxInterceptor());
// Open dashboard with working sample APIs
Navigator.push(context, MaterialPageRoute(
builder: (context) => HttpSandboxDashboard(
apiDefinitions: SampleApiDefinitions.all(), // All 7 sample APIs
),
));๐ฎ What's Next
This release provides a solid foundation with working APIs and optimized packaging. Future releases will focus on:
- Retrofit integration for auto-generated API definitions
- Advanced filtering and export features
- Performance metrics and mock response capabilities
Full changelog: CHANGELOG.md
Ready to publish: flutter pub publish