I am developing a shopping cart website and application. I want to get product information from the database for my application, so I recently used the JSON REST API (WP API), as well as the latest version of WooCommerce 2.1.
When I run my url http://ishop/wc-api/v1/, I get a long json output, so I can make sure the API is working fine.
However, when I pass the request as follows:
http:
Error:
{"errors":[{"code":"woocommerce_api_authentication_error","message":"oauth_consumer_key parameter is missing"}]}
Is there something wrong with my syntax? Help the guys.
source
share