Hello Construct Community! This Tutorial is made as a little thought experiment but might have some merit for the one or other person. The principles still are...
Hello Uriel1339,
Thanks for sharing this tutorial. Could you answer a couple of questions for me please?
I am trying to pass a Score to the WPDB, this used to be a fairly simple process using the $_GET in PHP, however, things seem to have changed a bit in WP since I last did this :)
Q1 - Did you have to register a REST API endpoint?
Q2 - Or did you just manage with allowing CORS?
Thanks in advance
I haven't looked in here forever. Apologies for never replying! I looked at my code and... I'm not quite sure.
The REST API endpoint was already existing within WooCommerce and is accessible via key & code. If that wasn't in the URL it would just kickback as authentication failed.
And I don't know what CORS is.