$site->apiUrl()
Returns the url to the api endpoint
$site->apiUrl(bool $relative = false): string
Parameters
Name | Type | Default |
---|---|---|
$relative | bool |
false |
Return type
string
Returns the url to the api endpoint
$site->apiUrl(bool $relative = false): string
Name | Type | Default |
---|---|---|
$relative | bool |
false |
string