]> git.openstreetmap.org Git - rails.git/commitdiff
Use POST for overpass queries
authorTom Hughes <tom@compton.nu>
Thu, 13 Mar 2014 19:25:18 +0000 (19:25 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 16 Mar 2014 16:18:13 +0000 (16:18 +0000)
app/assets/javascripts/index/query.js

index c0f40d1e1854bec7f300e5bfb63ced0a64652d5f..1a91c202ce9f0ccfc722d8ac05510fc901e95684 100644 (file)
@@ -178,7 +178,7 @@ OSM.Query = function(map) {
 
     $.ajax({
       url: "http://overpass-api.de/api/interpreter",
-      method: "GET",
+      method: "POST",
       data: {
         data: "[timeout:5][out:json];" + query,
       },