make GET the default, and check for missing endpoint