webhook.site icon indicating copy to clipboard operation
webhook.site copied to clipboard

GET /token/:token_id/requests doesn't work with custom alias

Open kacperf531 opened this issue 4 years ago • 0 comments

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?

kacperf531 avatar Apr 30 '21 12:04 kacperf531