I figured a way to do what I wanted. I basically added both variables to a single variable named path, and used path within the url request.