curl --request GET \
--url https://api.example.com/v1/slug/normalize-url \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Normalize a URL to a canonical form.
curl --request GET \
--url https://api.example.com/v1/slug/normalize-url \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}URL to normalize
Lowercase hostname
Remove trailing slash from path
Remove default port (80/443)
Sort query parameters
Successful Response