Skip to content

Commit 72bb740

Browse files
Correct API endpoint in example
1 parent 45d3d36 commit 72bb740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/collections/docs/sites-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Laravel's `Http` facade to make your requests, you can use the
2323
```php
2424
Http::acceptJson()
2525
->withToken($token)
26-
->post('https://statamic.com/v1/api/sites', $payload);
26+
->post('https://statamic.com/api/v1/sites', $payload);
2727
```
2828

2929
_*For more info, read more about [headers](https://laravel.com/docs/12.x/http-client#headers) and [bearer tokens](https://laravel.com/docs/12.x/http-client#bearer-tokens) in Laravel.*_

0 commit comments

Comments
 (0)