Connecting to woocommerce api to get category list with ionic


down vote
I am trying to use Woocommerce API to receive some data from a website by using this API. By using the following code, i recieve this error : “This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support”. How ever i am using chrome with “allow-control-allow-origin:*” extension and javascript enabled (setting-privacy-custon setting- enable javascript) in my chrome.

  var Woocommerce= WC.WC();
  Woocommerce.get('products/categories',function(err,data, res){

Any advice or suggestion is really appreciated


Hi.Good time
Any idea duds?