Tweaked API to work with all HTTP verbs