Using $.when().done() with an Ajax request. Can you use a partial URL/Param-less?

Using $.when().done() with an Ajax request. Can you use a partial URL/Param-less?

Basically I have the following
$.when($.ajax('//www.location.com/path1/path2/?param1=1&param2=2')).done(function (a1)
    {.....
What I'm wondering is, the params on the end could change. If I pass in the following,
$.when($.ajax('//www.location.com/path1/path2/')).done(function (a1)
      {......
will I be targetting the same jquery Ajax call? Does there need to be a wildcard at the end of the path?
Or does the path need to be exact for the ajax call being made?
Much thanks for any info regarding this aspect of using the $.when(), $.done() and $.ajax() functions in this manner.