endpoints with trailing slash also work