close

May 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

WooCommerce Android App PUT/DELETE requests blocked by nginx

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7693
    Joshua
    Guest

    Hi!

    I am using WooCommerce plugin with a slickstack-based wordpress without problem.

    However, I have an issue with the official WooCommerce android app: some actions (editing product, changing order status…) send PUT or DELETE requests to the REST API, and those requests are blocked by nginx (405 error).

    I saw the issue was mentioned here: https://slickstack.io/forum/topic/why-does-slickstack-block-put-and-delete-requests-in-nginx but I am not sure what would be the best way to get the official WooCommerce android app working with my stack.
    Unless they replace “PUT API/path/order” with “POST API/path/order?_method=PUT”…

    Any idea?

    #7706
    Louis
    Guest

    hmm does the Woo mobile app require XML-RPC like the WordPress app does?

    #7727
    Lauren
    Guest

    I don’t think so, I have it disabled and GET/POST requests work just fine.
    It’s only with PUT/DELETE that nginx returns a 405 error.

    #7730
    Joe
    Guest

    Seems weird, I would assume this is poor code in their app because (as discussed in the other thread) this should be resolved by simply using the proper REST API syntax

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!