NEXMO で Text to speech API を実行しようとしましたが、エラーが発生しました:
$phoneno = "Checkthisout";
$params = "api_key=XXXX&api_secret=XXXXX&to=XXXXX&from=XXXXXX&text=".$phoneno;
$url = 'https://api.nexmo.com/tts/json?'; . http_build_query($params);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
print_r($response);
しかし、新しいエラーが発生しました{"status":"2","error_text":"Missing username"}
URL に従って実行します: https://nexmo.github.io/Quickstarts/tts/。
私は彼らのすべての文書をチェックしました。そのようなエラー テキストは表示されません。誰か助けてくれませんか?