dreamevil0002 2016-02-11 23:43
浏览 248

缺少Woocommerce REST API Oauth使用者密钥参数

I have a WooCommerce website and I am building an app for it (HTML, ANGULARJS). I need to get the products from the website to show them into the app and I am using the REST API.

To get the products from WooCommerce I am using the WooCommerce REST API PHP Client Library and I manage to get the products appear on screen via PHP.

I need to get the products via the URL but when I go to http://example.com/wc-api/v3/products I get the error

{"errors":[{"code":"woocommerce_api_authentication_error","message":"oauth_consumer_key parameter is missing"}]}

I prefer not to add an SSL to the site, I'd rather stay on HTTP and I understood that the Client Library helps me with authenticating over an HTTP request.

How can I retrieve the products from the URL or how can I retrieve a oauth_consumer_key?

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题