File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ as a second argument:
44
44
use function MNC\Http\buffer;
45
45
use function MNC\Http\fetch;
46
46
47
- $response = fetch('https://some-domain.com /some-form', [
47
+ $response = fetch('https://some-domain.example /some-form', [
48
48
'method' => 'POST',
49
49
'headers' => [
50
50
'Content-Type' => 'application/json',
@@ -241,7 +241,7 @@ use function MNC\Http\fetch;
241
241
242
242
$authenticate = static function (string $token) {
243
243
return static function (string $method, string $path, array $contents = null) use ($token): ?array {
244
- $url = 'https://my-api-service.com ' . $path;
244
+ $url = 'https://my-api-service.example ' . $path;
245
245
$response = fetch($url, [
246
246
'method' => $method,
247
247
'headers' => [
@@ -313,7 +313,7 @@ final class FetchApiClient implements ApiClient
313
313
public static function authenticate(string $token): FetchApiClient
314
314
{
315
315
$client = static function (string $method, string $path, array $contents = null) use ($token): ?array {
316
- $url = 'https://my-api-service.com ' . $path;
316
+ $url = 'https://my-api-service.example ' . $path;
317
317
$response = fetch($url, [
318
318
'method' => $method,
319
319
'headers' => [
You can’t perform that action at this time.
0 commit comments