I'm currently trying to get a list of skills from the Alexa Skill Management API using PHP. My access token currently works to get user profile info and I'm 99% sure I gave the correct scope for permission to my Skill Development Account.
// exchange the access token for list of skills
$c = curl_init('https://api.amazonalexa.com/v0/skills/');
curl_setopt($c, CURLOPT_HTTPHEADER, array('Authorization: ' . $access_token));
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
curl_setopt($c, CURLOPT_VERBOSE, 1);
$r = curl_exec($c);
curl_close($c);
var_dump($r);
The above code returns the error: The requested method GET is not allowed for the URL /v0/skills/.
I'm sure I'm just making some silly mistake. Any help would be appreciated.