A Flutter package for logging REST-APIs and GraphQL requests and accessing it by Shaking your phone to get the RequestsInspector widget on your screen.
Package selection guidance compiled from public package information, community data, and project usage.
RequestsInspector is a Flutter package designed for debugging HTTP and GraphQL requests during development. It logs all outgoing API calls and provides real-time access to request/response data by shaking the device, displaying a dedicated inspector widget. Ideal for developers who need quick visibility into network activity without modifying code. The package supports both Android and iOS platforms and integrates seamlessly with existing HTTP clients like dio or http. Its lightweight design ensures minimal performance impact.
Use cases
Debugging API endpoints
Monitoring GraphQL queries
Inspecting request headers and bodies
Real-time network logging during development
Troubleshooting failed requests
Key features
Shake-to-open inspector
Supports HTTP and GraphQL
Cross-platform (Android & iOS)
Minimal setup required
Live request/response viewing
Suitable for
Flutter developers in debug mode
Teams testing API integrations
Frontend engineers troubleshooting network issues
Mobile app developers using REST/GraphQL
Anyone needing quick network inspection
Considerations
Not intended for production use
Requires physical device for shake gesture
Limited to debug builds
No persistent storage of logs
May require permission on some devices
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
requests_inspector 🕵
A Flutter package for logging API requests (Http Requests & GraphQL) requests.
Main Features:
Log your Http request, GraphQL and WebSockets.
Intercept your requests and responses for testing.
Share request details as json, cURL, or HAR file to re-run it again (ex. Postman).
And more and more
To get the RequestsInspector widget on your screen:
📱💃 : Shake your phone.
📱👈 : Long-Press on any free space on the screen.
Also you can share the request details as (Log, cURL command, or HAR file) with your team to help them debug the API requests.
From Inspector to Postman 🧡 🎉️
Now you can extract cURL command from the inspector to send the request again from your terminal or Postman 💪💪
HAR File Support 📦 🎉️
You can now share requests as HAR (HTTP Archive) files! HAR files are a standard format that can be imported into various tools like Postman, Proxyman, or any HAR-compatible tool for debugging and analysis. You can share HAR files in two formats:
HAR text: Copy the HAR content as text
HAR file (.har): Share as a downloadable .har file
The HAR format includes complete request/response details, headers, timing information, and more, making it perfect for comprehensive API debugging and sharing with your team.
Setup
First, add it at the top of your MaterialApp with enabled: true.