Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Jair Garcia
    Hi, i want make a request with http
    var WooCommerceAPI = require( 'woocommerce-api' );
    var WooCommerce = new WooCommerceAPI({
        url: $homeURL,
        wpAPI: true,
        version: 'wc/v1',
        consumerKey: encodeURIComponent('ck_324897c17ad388a325a0bd45a91160e8b62c2de8'),
        consumerSecret: encodeURIComponent('cs_79a46d281830490cf329d5f883c45ba453f132f0')
    but the code is 401 (Unauthorized)
    what i do, i appreciate any help