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 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥15 帮我写一个c++工程