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
Ajax request return ERR_BAD_REQUEST Request failed width status code 400 #4648
Comments
Please check out the docs over here, we have changed the way form data works. |
fyi the link is for the minified dist instead of docs |
My bad here |
I got this 400 error with v0.27.1 |
Actually, we did not change anything in working with FormData - we just added alternative shortcut methods and payload serialization to a FormData object when you set the |
🙄**I am Lerner here ** |
... and 0.27.1 |
Describe the bug
I have error ERR_BAD_REQUEST Request failed width status code 400 after send ajax post request
To Reproduce
WordPress 5.9.3 send any ajax request to /wp-admin/admin-ajax.php
PHP code in function.php
Expected behavior
Return result json. Its worked until April 26th!
Environment
Additional context/Screenshots
https://prnt.sc/XI2ozoTn9Hgf
The text was updated successfully, but these errors were encountered: