title: How do I send brackets "%5B" "%5D" as params on an Ajax Request using GET as method?
body: <p>Using Ajax and the method GET, I am trying to send an url with brackets, but I am not getting the right encoding of them: </p>
  
  <pre><code>Request URL:http://myurl/search.html?_dc=1382510050331&amp;search%5Bpostcode%5D=96231
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>Request URL:http://myurl/search.html?_dc=1382510050331&amp;search[postcode]=96231
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Status Code:502 Host not found
  </code></pre>
  
  <p>Here is a snippet of my code:</p>
  
  <pre><code>Ext.Ajax.request({
      url: 'http://myulr.lan/fpsearchjson.html',
      method: 'GET',
      params: {
          "geosearch[postcode]":91111
      },
      success: function(response){
          console.log("success");
      },
      failure: function(response){
          console.log("failure");
      }
  });
  </code></pre>
  
  <p>Any help will be appreciated!</p>