Browse Source

OCD

pull/7/head
Peter Johnson 9 years ago
parent
commit
7110914a0b
  1. 4
      getting-started/007-using-cors.md

4
getting-started/007-using-cors.md

@ -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 ) {

Loading…
Cancel
Save