webhook.site
webhook.site copied to clipboard
GET /token/:token_id/requests doesn't work with custom alias
A request like:
curl --location --request GET 'https://webhook.site/token/30fc44a3-aaad-4699-83ae-f9a0b0d53246/requests' \
--header 'Api-Key: optional_api_key'
is responded with 200 OK. However, when using a custom alias (previously configured), e.g.:
curl --location --request GET 'https://webhook.site/token/my_custom_alias/requests' \
--header 'Api-Key: optional_api_key'
is responded with 404 Not Found.
Note that:
curl --location --request GET 'https://webhook.site/token/my_custom_alias' \
--header 'Api-Key: optional_api_key'
works fine, so I assume that we're dealing with a bug here. Can you please have a look?