title: Is there a way to construct the full url before calling the get method?
body: <p>I'm trying to implement a cache file so I don't need to call the API every time if, for example, I already called it today and I have the info in my cache file.</p>
  <p>When I have some parameters, I need to get the full url as string to check if that url was called before and it's in the cache file, before actually calling again the the API. I have been doing some research and reading the python3 requests library, but haven't found anything.</p>
  <p>Below there is an example, but trying to avoid the get method.</p>
  <pre><code>import requests
  
  d = {&quot;term&quot;: &quot;Ann Arbor&quot;, &quot;entity&quot;: &quot;podcast&quot;}
  response = requests.get(&quot;https://itunes.apple.com/search&quot;, params = d)
  </code></pre>
  <p>I know that <code>response.url</code> will give me the full url <code>https://itunes.apple.com/search?term=Ann+Arbor&amp;entity=podcast</code> but I was wondering if there is another way to do this?</p>
  <p>Thanks for any help/idea.</p>