Browse Source

fix copy/paste issue, change key to generic mapzen (considering keyless access)

pull/143/head
Rhonda Glennon 8 years ago committed by GitHub
parent
commit
8f47034f4d
  1. 4
      use-cors.md

4
use-cors.md

@ -27,7 +27,7 @@ $.ajax({
dataType: "json", dataType: "json",
data: { data: {
"text": "London, UK", "text": "London, UK",
"api_key": "search-EEgHGcM" "api_key": "mapzen-xxxxxx"
}, },
success: function( data, status, jqxhr ){ success: function( data, status, jqxhr ){
console.log( "Request received:", data ); console.log( "Request received:", data );
@ -49,7 +49,7 @@ $http({
headers: { "Accept": "application/json" }, headers: { "Accept": "application/json" },
params: { params: {
"text": "London, UK", "text": "London, UK",
"api_key": "api_key=mapzen-xxxxxx" "api_key": "mapzen-xxxxxx"
}, },
}) })
.success(function( data, status ) { .success(function( data, status ) {

Loading…
Cancel
Save