Update requests.md

Request::method() is undefined and the correct function is getMethod()