Adding helper methods for GET and POST