add HTTP GET and POST menthod