Support different request methods.