Hi @[deleted] Thanks for the links.I tried the suggested script, but no luck :(There is no tickets.json file in the "api" folder so I used /http.php/tickets.json urlMy script is here:https://pastebin.com/13dy7sBU When I execute the php script I get the following output:
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; color: #dafeef; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures}
# php CP-to-OST.php
Array
(
=> John Doe
=> john@gmail.com
=> 1234567890
=> Test API message
=> This is a test of the osTicket API
=> 192.168.4.7
=> 1
)
#
No ticket is created. Nothing in "_ticket" & "_thicket_thread" tables.Any ideas where should I start my debug? A bit lost.Any suggestions will be of help.Thanks