WooCommerce - woocommerce_rest_cannot_view - Status 401

前端 未结 10 946
眼角桃花
眼角桃花 2021-01-02 00:09

I have generated a consumer key and consumer secret. The website has SSL installed. I have also installed plugins required for JSON and REST services. This is how the url lo

10条回答
  •  旧巷少年郎
    2021-01-02 00:40

    The 401 error you are getting is because you are using basic auth even though your website is not secure (does not have https).

    The solution in postman is to use OAuth 1.0. Just add the consumer key and consumer secret and send the request.

提交回复
热议问题