setAccessKey($config->ak); $client->setSecretKey($config->sk); $body = [ 'Type' => 'file', 'Urls' => sprintf('http://%s/1.txt\nhttp://%s/2.jpg', $config->exampleDomain, $config->exampleDomain), ]; $response = $client->submitRefreshTask($body); var_dump($response);