setAccessKey("your ak"); $client->setSecretKey("your sk"); $body = [ 'FileName'=>'mytest.mp3' ]; $response = $client->GetResourceUploadUrl($body); echo $response;