Add basic support for http methods