Sample use curl command with PHP API
How to test this API. Send from command line this curl command
curl -X POST --header 'Content-Type: application/json' -d '{"api":"alfa","class":"list","method":"airport","filters":"from=;to=;"}' http://codigo.depruebas.com/curl-api/index.php