Closed jessicams91 closed 8 years ago
@jessicams91 what WordPress version?
4.4.3 and my permalink is set to /index.php/%year%/%monthnum%/%day%/%postname%/
Can you access http://yoursite.com/wp-json/ ?
nope, 404, can it be because of the /index.php?
Maybe, you need to fix your installation. It's a problem with the WP REST API in your site and not with this wrapper or the WooCommerce REST API.
Ok, I'll try the WordPress REST API plugin to see if it works
I was using legacy v2, but on a recent update to woocommerce 2.6.1 I can't connect to the API.
this was the configuration before:
now:
but I get this:
JSON::ParserError: 795: unexpected token at '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Not Found
The requested URL /wp-json/wc/v1/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I tried to access the url but get a 404 too, I didn't find any similar issue, any idea what could it be? My permalinks is custom and default for products. I also tried using wp_json as stated on the documentation, but same results