Use command substitution:
grep -R "requests" $(pwd)
The output of the command in $(...)
is used as an argument list to the command. If you want the output to be treated as one word, wrap it in double quotes:
ls "$( command-that-produces-dirname-containing-whitespace )"