title: HTTP POST Request AngularJS
body: <p>I'm actually working on a SparQL viewer but i got an issue with my POST request, someone can told me what's wrong ?</p>
  
  <pre><code>var req = { method: 'POST',
                      url: 'http://dbpedia.org/sparql',
                      headers: { 'Content-type' : 'application/x-www-form-urlencoded',
                                 'Accept' : 'application/sparql-results+json' },
                      data: { query : "SELECT * WHERE { &lt;http://dbpedia.org/resource/Awolnation&gt; ?pref ?obj } LIMIT 10",
                              format: "sparql-results+json",
                              timeout : 3000 }
                    };
  
          $http(req).success(function(data) {
              console.log(data);
          });
  </code></pre>
  
  <p>EDIT : my bad i forgot the issue</p>
  
  <pre><code>POST http://dbpedia.org/sparql 400 (Bad Request)
  </code></pre>