adding request method into the project