title: How to convert Javascript object to a url string?
body: <p>I have a Javascript object like:</p>
  
  <pre><code>var obj = {
      name: "Omer",
      age: 30,
      siblings: 3
  } 
  </code></pre>
  
  <p>Is there a way I can covert this into a string like this:</p>
  
  <pre><code>name=Omer&amp;age=30&amp;siblings=3
  </code></pre>
  
  <p>I have tried it with <code>JSON.stringify()</code> but it doesn't giving me the result I'm looking for.</p>
  
  <p>The result is like this:</p>
  
  <pre><code>{"name":"Omer","age":"30","siblings":"3"}
  </code></pre>