Update request.rb

trying to figure out if the url being return has a code I need