且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

WooCommerce REST API请求返回错误

更新时间:2022-02-27 07:43:31

您必须使用以太HTTPS或OAuth签名,如下所述:

You have to use ether HTTPS or a OAuth signature as described here: http://woothemes.github.io/woocommerce/rest-api/#authentication

如果要使用HTTP,则有一个客户端库可以帮助您进行签名.您可以在此处找到该库: https://github.com/kloon/WooCommerce- REST-API-客户端库

There is a client library that can help you with the signature if you want to use HTTP. You can find the library here: https://github.com/kloon/WooCommerce-REST-API-Client-Library