Drop the trailing slash. Just /endpoint. It's cleaner.