How to add the request manually?
trietbui85 opened this issue · 1 comments
⚠️ Is your feature request related to a problem? Please describe
I understand Chucker will capture the request automatically.
But is it possible to let us add a request manually?
For example, sometimes we don't setup Chucker for the analytics, but we have analytics payload, so I would like to manually add the tracking request payload and view it in Chucker UI.
💡 Describe the solution you'd like
Add a method to let people add the request manually.
📄 Additional context
It would be helpful if we add this feature, so that Chucker can become a Log Viewer for not only network, but also custom log.
🙋 Do you want to develop this feature yourself?
- Yes
- No
For example, sometimes we don't setup Chucker for the analytics, but we have analytics payload, so I would like to manually add the tracking request payload and view it in Chucker UI.
This is not possible as of today. What you could do, is create an interceptor that creates the HTTP request with the payload you want, so that Chucker will process it. The problem is that your HTTP client will also process it and will try to fire it.