Users geocoding
I am trying to do the Building a geocoding app with Appery.io database and server code tutorial and in the part of testing the server code, I get this response:
{
"results":[
Code: Select all
] }
and this in the server code trace tab:
{ status: 200, headers: { 'X-Frame-Options': [ 'SAMEORIGIN' ], 'Transfer-Encoding': [ 'chunked' ], Vary: [ 'Accept-Language,Accept-Encoding' ], 'Access-Control-Allow-Origin': [ '*' ], Date: [ 'Fri, 22 May 2015 14:34:19 GMT' ], 'X-XSS-Protection': [ '1; mode=block' ], Expires: [ 'Sat, 23 May 2015 14:34:19 GMT' ], 'Alternate-Protocol': [ '443:quic,p=1' ], 'Accept-Ranges': [ 'none' ], 'Content-Type': [ 'application/json; charset=UTF-8' ], Server: [ 'mafe' ], 'Cache-Control': [ 'public, max-age=86400' ] }, body: '{\n "results" : [\n {\n "address_components" : [\n {\n "long_name" : "902",\n "short_name" : "902",\n "types" : [ "street_number" ]\n },\n {\n "long_name" : "Blyth Road",\n "short_name" : "Blyth Rd",\n "types" : [ "route" ]\n },\n {\n "long_name" : "Victoria",\n "short_name" : "Victoria",\n "types" : [ "locality", "political" ]\n },\n {\n "long_name" : "Victoria County",\n "short_name" : "Victoria County",\n "types" : [ "administrative_area_level_2", "political" ]\n },\n {\n "long_name" : "Texas",\n "short_name" : "TX",\n "types" : [ "administrative_area_level_1", "political" ]\n },\n {\n "long_name" : "United States",\n "short_name" : "US",\n "types" : [ "country", "political" ]\n },\n {\n "long_name" : "77904",\n "short_name" : "77904",\n "types" : [ "postal_code" ]\n },\n {\n "long_name" : "2741",\n "short_name" : "2741",\n "types" : [ "postal_code_suffix" ]\n }\n ],\n "formatted_address" : "902 Blyth Road, Victoria, TX 77904, USA",\n "geometry" : {\n "location" : {\n "lat" : 28.88725,\n "lng" : -97.005145\n },\n "location_type" : "ROOFTOP",\n "viewport" : {\n "northeast" : {\n "lat" : 28.8885989802915,\n "lng" : -97.00379601970849\n },\n "southwest" : {\n "lat" : 28.8859010197085,\n "lng" : -97.00649398029151\n }\n }\n },\n "place_id" : "ChIJIWEJduBdQoYR1cv_DdHXVX4",\n "types" : [ "street_address" ]\n }\n ],\n "status" : "OK"\n}\n' }
What am I doing wrong?
Thanks.