This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Lufthansa REST API with OAuth | |
// exchange client_id and client_secret for the token | |
$post = [ | |
'client_id' => 'Your client Id', | |
'client_secret' => 'Your client secret', | |
'grant_type' => 'client_credentials', | |
]; | |
$ch = curl_init(); |