Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Using osTicket (v1.7.3) API - Creating Tickets

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:
Lastly, The repose which is echoed says:
"HTTP/1.1 200 OK Date: Tue, 03 Jun 2014 05:40:53 GMT Server: Apache Last-Modified: Mon, 02 Jun 2014 09:55:24 GMT Accept-Ranges: bytes Content-Length: 0 Content-Type: application/json

Array ( [0] => HTTP/1.1 200 OK [1] => 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: - but the file is empty. Is this the problem? If it is; than where can I get the code?

Thanks in advance.


This discussion has been closed.