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 do I intercept XHR response data triggered by a button? #320

Closed
smp12345 opened this issue Dec 23, 2020 · 3 comments
Closed

How do I intercept XHR response data triggered by a button? #320

smp12345 opened this issue Dec 23, 2020 · 3 comments
Labels
needs info The description is not enough to tackle the problem

Comments

@smp12345
Copy link

Rod Version: v0.85.9

I refer to the Example_hijack_requests example, which can intercept all requests for page normally. When the page is loaded, I click on a button on the page, and the asynchronous XHR request will be triggered. HijackRequests seem to have no effect.So what should I do to get the returned JSON data

@smp12345 smp12345 added the question Questions related to rod label Dec 23, 2020
@ysmood
Copy link
Member

ysmood commented Dec 23, 2020

Can you provide minimal code for us to reproduce your issue?

@ysmood
Copy link
Member

ysmood commented Dec 23, 2020

Not reproducible, can't help.

@ysmood
Copy link
Member

ysmood commented Dec 24, 2020

#322

@ysmood ysmood closed this as completed Dec 24, 2020
@ysmood ysmood added needs info The description is not enough to tackle the problem and removed question Questions related to rod labels Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info The description is not enough to tackle the problem
Projects
None yet
Development

No branches or pull requests

2 participants