I am implementing osTicket API for creating tickets. I am facing some problems regarding this. I have created the API key firstly and have provided the IP from where the page will call API and by default the test page is located inside the osTicket website so the IP will be the same.Secondly, I created a test page inside osTicket website which will call the API. The code which is inserted into the test.php is taken from: http://forum.osticket.com/d/discussion//valid-api-key-required-trying-to-create-a-ticket-via-apiLastly, The repose which is echoed says:"HTTP/1.1 200 OK
Date: Tue, 03 Jun 2014 05 GMT
Server: Apache
Last-Modified: Mon, 02 Jun 2014 09 GMT
Accept-Ranges: bytes
Content-Length: 0
Content-Type: application/json
Array
(
=> HTTP/1.1 200 OK
=> 200
)
1"---------------------------------------------------------------------------------------------------------------------------------So now the problem is, I am not getting any mail reflected in my osTicket -> Open Tickets.1- Which IP should I provide? The server's IP OR osTicket's website IP?2- In the code there is a url which is called: http://www.mydomain.com/tickets/api/tickets.json - but the file is empty. Is this the problem? If it is; than where can I get the code?Thanks in advance.