Title: HTTP Code: 405 &#8211; Method Not Allowed
Last modified: November 7, 2024

---

# HTTP Code: 405 – Method Not Allowed

 *  Resolved [Elvis Martins](https://wordpress.org/support/users/studio27digital/)
 * (@studio27digital)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/http-code-405-method-not-allowed/)
 * I am experiencing an issue when attempting to update product information on my
   store using the WooCommerce REST API. I’m sending a `PUT` request to the `/wp-
   json/wc/v3/products/{id}` endpoint, but I am receiving a **405 – Method Not Allowed**
   error in response.
 * Here are the specific details of the issue:
    1. **Request URL**:bashCopiar código`https://londonwine.com/wp-json/wc/v3/products/
       9057`
    2. **HTTP Method**:
    3.  - `PUT`
    4. **Authentication**: I’m using basic authentication with the correct `consumer_key`
       and `consumer_secret`.
    5. **Error Received**: The server returns a `405 - Method Not Allowed` error, which
       suggests that the `PUT` method might be blocked for this endpoint. I am uncertain
       if this is due to API configuration, server settings, or another restriction.
    6. **Troubleshooting Steps Taken**:
    7.  - I reviewed the WooCommerce API documentation and confirmed that the `PUT`
          method should be available for this type of request.
        - I tested the request using tools like Postman and cURL to ensure there was
          no issue with the request configuration.
        - I checked with my hosting provider to rule out any firewall or server security
          settings that might block the `PUT` method.
 * Could you help me identify why the `PUT` method is not allowed for this endpoint?
   Is there any specific adjustment or configuration within WooCommerce or the API
   that I should verify to ensure that product update requests are accepted?
 * Any additional guidance would be greatly appreciated, as I am struggling to resolve
   this issue. Thank you very much for your attention and assistance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-code-405-method-not-allowed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Elvis Martins](https://wordpress.org/support/users/studio27digital/)
 * (@studio27digital)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/http-code-405-method-not-allowed/#post-18121323)
 * [SOLVED] It was Really Simple Security that was blocking IP!
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/http-code-405-method-not-allowed/#post-18124123)
 * Hello [Elvis Martins](https://wordpress.org/support/users/studio27digital/),
 * Thank you for contacting WooCommerce support.
 * I am glad to know that you resolved the issue.
   I also appreciate you for sharing
   the solution here.
 * Please don’t hesitate to contact us again if you have more questions or concerns.
   
   We are here to help 🙂
 * Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTTP Code: 405 – Method Not Allowed’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [API REST](https://wordpress.org/support/topic-tag/api-rest/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)

 * 2 replies
 * 2 participants
 * Last reply from: [Zee](https://wordpress.org/support/users/doublezed2/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/http-code-405-method-not-allowed/#post-18124123)
 * Status: resolved