Custom routes return 404 error but correct content with HEAD request

Do you curl with the GET method? I believe the default router in kirby only works with GET.