WooCommerce API

Website URL

https://sgcequipment.42web.io/wp-json/wc/v3/products

Error Message

This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support

Other Information

I am wanting to create a WooCommerce product via the API. It appears the server is using a JavaScript-based anti-bot mechanism to prevent automated access. The script sets a cookie and then redirects the browser to the intended URL. This mechanism requires JavaScript execution, which isn’t handled by typical API clients. Can this anti-bot mechanism be disabled for my specific use case?

Unfortunately, no.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.