Problem with url
<pre><code>var x = 20;
xhr.open('GET','http://127.0.0.1:8000/insert/x);
</code></pre>

<p>How can i pass the value of x in the http string , so as to get</p>

<pre><code>xhr.open('GET','http://127.0.0.1:8000/insert/20); as request? 
</code></pre>
