I am currently writing a Python bot to post automatically pages with a defined title and content. Whenever I make it submit the filled form to create the page, I get an error message that must look like “Are you sure you want to do that?” on a blank page. The address of this error page is mysite.com/wordpress/wp-admin/post.php?post=number&action=edit&message=10. I don’t understand why it happens because when I post exactly that message with my bot’s account, I don’t get any error…
I’m not sure about the forum where I should post, I hope this is the good one.
Thank you for your help,
Ryunos
https://developer.www.ads-software.com/rest-api/
https://github.com/myles/python-wp