Skip to content
New issue

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

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

Already on GitHub? # to your account

How to get the POST data of an URL? #392

Closed
huiwen0212 opened this issue Jun 11, 2020 · 6 comments
Closed

How to get the POST data of an URL? #392

huiwen0212 opened this issue Jun 11, 2020 · 6 comments
Labels

Comments

@huiwen0212
Copy link

huiwen0212 commented Jun 11, 2020

Hi, I would like to know is there a way to get the POST data of an URL after the URL changes?

Ex: in PHP you can use $POST['params'] to get the data
Thanks

@pichillilorenzo
Copy link
Owner

I didn't understand what you are trying to achieve.

PHP is server-side, so you can get data through $POST['params'] on your server from the client POST Request.
Instead, here we are client-side. How could it even be possible to get data that is on your server? You can control your data before sending the request, for example using JavaScript.

Please, could you explain better your use case?

@pichillilorenzo
Copy link
Owner

if you need to intercept requests, on Android you can use androidShouldInterceptRequest event (you need to enable it using useShouldInterceptRequest: true android-specific option)

@huiwen0212
Copy link
Author

I didn't understand what you are trying to achieve.

PHP is server-side, so you can get data through $POST['params'] on your server from the client POST Request.
Instead, here we are client-side. How could it even be possible to get data that is on your server? You can control your data before sending the request, for example using JavaScript.

Please, could you explain better your use case?

I see, because I have an URL and that URL have POST data in that URL and I would to get the POST data.

@pichillilorenzo
Copy link
Owner

What do you mean with "URL have POST data"?? Can you make an example?

Copy link

github-actions bot commented Oct 7, 2024

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

@github-actions github-actions bot added the stale label Oct 7, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants