Added HTTP method parameter.