maybe unnecessary but we could have a checkMethod and checkURI to make these shorter and be able to globally modify that repetitive task.