Skip to content

Conversation

@lxalln
Copy link

@lxalln lxalln commented Mar 20, 2019

Some Wordpress instances do not support DELETE/PUT verbs, so the
suggested fallback is to use the X-HTTP-MethodOverride header and send a
POST verb instead.

WooCommerce docs

Wordpress docs

@XiaoFaye
Copy link
Owner

XiaoFaye commented Apr 2, 2019

Hi, we can use RequestFilter to achieve this, I have added a Wiki page regarding this issue. Thanks for bringing this up.

https://github.com/XiaoFaye/WooCommerce.NET/wiki/Use-X-HTTP-MethodOverride-header-for-DELETE-PUT

@lxalln
Copy link
Author

lxalln commented Apr 2, 2019

Excellent! I didn't see the RequestFilters, or didn't think to use them.

@lxalln lxalln closed this Apr 2, 2019
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

Successfully merging this pull request may close these issues.

2 participants