fix request methods different from GET and POST