Server IP : 184.154.167.98 / Your IP : 3.142.135.127 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/mesa/api/ |
Upload File : |
<?php /********************************************************************* http.php HTTP controller for the osTicket API Jared Hancock Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4: **********************************************************************/ require 'api.inc.php'; # Include the main api urls require_once INCLUDE_DIR."class.dispatcher.php"; $dispatcher = patterns('', url_post("^/tickets\.(?P<format>xml|json|email)$", array('api.tickets.php:TicketApiController','create')), url('^/tasks/', patterns('', url_post("^cron$", array('api.cron.php:CronApiController', 'execute')) )) ); // Send api signal so backend can register endpoints Signal::send('api', $dispatcher); # Call the respective function print $dispatcher->resolve(Osticket::get_path_info()); ?>