Woocommerce REST API returns 301
-
I’m using the Woocommerce REST API to request product information with a simple get using the product ID and creating variations. However i’m stumbling upon a 301 error when trying to request the product information using the API.
The JSON response always returns a 301 – Moved permanently error.
I’ve tried disabling all plugins besides Woocommerce and using a regular WordPress thema.
I’ve also tried rewriting the permalinks in the system, but am still getting the same error.What i find strange, is that in the Woocommerce status log, it shows the rest API as not enabled. I have however an active API key and get a response from the API when contacting /wp-json/wc/v3?_jsonp=callback
Any idea what may cause this issue or how i’m able to solve this issue?
The topic ‘Woocommerce REST API returns 301’ is closed to new replies.