Skip to content

Instantly share code, notes, and snippets.

View nabaasa's full-sized avatar

Nabaasa Archie nabaasa

  • Uganda
View GitHub Profile
<?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();