diff --git a/javascript/client.js b/javascript/client.js new file mode 100644 index 0000000..cd23a25 --- /dev/null +++ b/javascript/client.js @@ -0,0 +1,11 @@ + +$.ajax({ + url: "https://data.nasa.gov/resource/gymh-eyc2.json", + data: {}, + success: function(data) { + $("pre").text(JSON.stringify(data, null, "\t")); + }, + error: function(msg) { + //todo: handle error gracefully + } +});