You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
329 B
20 lines
329 B
<?php
|
|
|
|
|
|
|
|
use Volc\Service\Notify;
|
|
|
|
require('../../../vendor/autoload.php');
|
|
require('../../src/Service/Notify.php');
|
|
|
|
$client = Notify::getInstance();
|
|
$client->setAccessKey("your ak");
|
|
$client->setSecretKey("your sk");
|
|
|
|
|
|
$body = [
|
|
'FileName'=>'mytest.mp3'
|
|
];
|
|
|
|
$response = $client->GetResourceUploadUrl($body);
|
|
echo $response; |