Added HTTP GET and POST methods