Hello,
Please consider updating the AJAX implementation to use External Services. This approach offers improved security and ensures better compatibility with Moodle standards.
For guidance, you can refer to the following documentation:
External Services
Writing a new service

Hello,
Please consider updating the AJAX implementation to use External Services. This approach offers improved security and ensures better compatibility with Moodle standards.
For guidance, you can refer to the following documentation:
External Services
Writing a new service