set_location function

Specifies location of request