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