I would like to install a function on the website domain.tld with which one can report members and thus an osTicket is created.
The tickets are only visible on support.domain.tld.
That's my current problem.
And the script I received from you tells me to change the URL on line 18. The URL points to support.domain.tld/api/tickets.json where osTicket is located, but it does not want to work.