Add support for GET/POST