The oauth_consumer_key parameter is missing

Asked

Viewed 69 times

0

did the site installation of wordpress I have my api working locally.

inserir a descrição da imagem aqui

I’m in the wrong:

polyfills.js:3 GET http://localhost/wordpress/wc-api/v3/products?page=2&oauth_nonce=8eGbEK9Mr8…rsion=1.0&oauth_signature=gV6ZTiZ5kWpcHTgaIfSrDXJyPp4cxljtjosSxSkUL%2BM%3D 404 (Not Found)

this.WooCommerce = WC({
  url: "http://wooionic.esy.es",
  version: 'v3', // WooCommerce API version (optional)
  verifySsl: false, // Use `false` when need test with self-signed certificates, default is `true` (optional)
  encoding: 'utf8', // Encode, default is 'utf8' (optional)
  consumerKey: "ck_c5b919fa658a9d22a2a013326c18555a8b3c6c26",
  consumerSecret: "cs_b4b307338741da37cb7c4f96e299dfbb908f8d53"
});

inserir a descrição da imagem aqui

1 answer

0

After creating a new project and importing npm worked, I believe there was some conflict because I had installed a wrong npm

Browser other questions tagged

You are not signed in. Login or sign up in order to post.