Woocommerce REST API 404 error

后端 未结 3 1191
旧巷少年郎
旧巷少年郎 2021-01-02 16:34

Since woocommerce released the 2.1 version with REST API feature, I tried to use it: I activated the API on my woocommerce admin panel but when I try to call the curl: http:

3条回答
  •  长情又很酷
    2021-01-02 17:10

    I was having this same issue. I had forgotten to turn on the pretty perma links, but doing that didn't solve it for me.

    I also had to update my apache virtual host file because the AllowOverride was defaulted to None.

    
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
    
    

    Once I updated this, and reloaded the Apache service, the API worked for me.

提交回复
热议问题