title: How to output the JSON request URL in string
body: <p>I am using the following code to request a remote server JSON using a set of dynamic parameters created from an input form.  The request works fine but what I want to do is get a string of the request URL that was sent.</p>
  
  <p>So the code looks like this:</p>
  
  <pre><code>$.getJSON(URL1, params1, function (data) {
      console.log(data);
  });
  </code></pre>
  
  <p>URL1 is a variable with the base value for the domain I am requesting from:</p>
  
  <pre><code>var URL1 = "www.domain.com/api/stuff4stuff?jsonp=true&amp;jcb=?"
  </code></pre>
  
  <p>And params1 is just a normal KVP object:</p>
  
  <pre><code>var Params1 = {APIINFO:12345,account:8675309}
  </code></pre>
  
  <p>Like I said my call is working fine, what I want is to get and output as a string the URL that JQuery produces and sends that request, including the random JQuery code it sends.</p>
  
  <p>the URL that I am looking for will look someting like this, and I can view it in my network tab on the console just fine, but I need to get ahold of it in the code so I can display it and use it as a variable.</p>
  
  <p><a href="http://www.domain.com/api/stuff4stuff?jsonp=true&amp;jcb=jQuery111108395918845199049_1405403521001&amp;APIINFO=12345&amp;account=8675309&amp;_=1405403521002" rel="nofollow">http://www.domain.com/api/stuff4stuff?jsonp=true&amp;jcb=jQuery111108395918845199049_1405403521001&amp;APIINFO=12345&amp;account=8675309&amp;_=1405403521002</a></p>
  
  <p>Just to be clear, I am NOT looking for the current URL brought up by my request, I can get the browser window URL just fine, I am looking for the actual JQuery URL that it sends with the JSON request.</p>