Hello experts, i have one problem. I want to open ticket and working local.<?php$config = array('url'=>'https://127.0.0.1/upload/api/tickets.json','key'=>'FF131A3F8550BC98E3D02B1A0F752573');$data = array('name' => 'John Doe','email' => 'mailbox@mailinator.com','subject' => 'Test API message','message' => 'This is a test of the osTicket API','ip' => $_SERVER,'attachments' => array(),);function_exists('curl_version') or die('CURL support required');function_exists('json_encode') or die('JSON support required');#set timeoutset_time_limit(30);#curl post$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $config);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));curl_setopt($ch, CURLOPT_USERAGENT, 'osTicket API Client v1.9');curl_setopt($ch, CURLOPT_HEADER, FALSE);curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Expect:', 'X-API-Key: '.$config));curl_setopt($ch, CURLOPT_FOLLOWLOCATION, FALSE);curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);$result=curl_exec($ch);$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);curl_close($ch);if ($code != 201)die('Unable to create ticket: '.$result);$ticket_id = (int) $result;?>I'm getting Unable to create ticket error. Where is the problem ? Where i am doing wrong ? any idea ? Thanks. Upgrade,