• Husein

    Administrator
    February 3, 2025 at 8:54 am

    Hello Victor, i just tried your code on my website, tested it using thunderclient and it worked normally, so maybe you tested it in wrong way using thunder client try doing this:

    1. Open a new POST request and enter this URL: http://test-site.local/wp-admin/admin-ajax.php
    2. add in the headers this:
    Content-Type: application/x-www-form-urlencoded

    3. go the the body field, select form-encode, and enter these inputs:

    action=openai_SOCFHC

    facts=Your test facts here

    suggestedOffence=Your test offence here