WooCommerce REST API request returns error

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://ishop/wc-api/v1/products?consumer_key=ck_asd78465&consumer_secret=cs_d75412

Error:

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

Is there something wrong with my syntax? Help the guys.

+2
source share
1 answer
0

All Articles