Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add the request manually? #1072

Open
1 of 2 tasks
trietbui85 opened this issue Jul 7, 2023 · 1 comment
Open
1 of 2 tasks

How to add the request manually? #1072

trietbui85 opened this issue Jul 7, 2023 · 1 comment

Comments

@trietbui85
Copy link

⚠️ 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
@cortinico
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants