add path and query properties for request and fix the url builder