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

406 Not Acceptable #574

Closed
OscarLate opened this issue Mar 3, 2021 · 1 comment
Closed

406 Not Acceptable #574

OscarLate opened this issue Mar 3, 2021 · 1 comment

Comments

@OscarLate
Copy link

WooCommerce 5.0.0
WordPress 5.6.2

I have more than 15 WebSites in WooCommerce works, but one of them when I send ALL POST request give me a error ( 406 Not Acceptable).

If I send the request with Insomnia/Postman Works and with RestSharp Library but with httpWebRequest (WooCommerce.net) not.

P.S : The hosting said that mod_security are disabled

@OscarLate
Copy link
Author

OscarLate commented Mar 5, 2021

Well, I found solution.

I added in the Request Filter:
request.Accept = "*/*";

@XiaoFaye XiaoFaye pinned this issue Mar 6, 2021
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

1 participant