akhilesh196
Just call the API from CLI on the webserver. Here is an example using cURL:
curl -H "X-API-KEY: API_KEY_HERE" -d '{"alert": true, "autorespond": true, "source": "API", "topicId": 1, "name": "User Name", "email": "user_email@example.com", "subject": "INSERT SUBJECT HERE", "message": "data:text/html,INSERT BODY HERE", "attachments": [{"filename.txt": "data:text/plain;charset=utf-8,content of attachment"}]}' http://localhost/osticket/api/tickets.json
Cheers.