Deckchain api testing

by BinaryAcid

HTML

<div id="content"></div>

JavaScript

var xhr = new XMLHttpRequest();
xhr.open("GET", "http://www.codecademy.com/", false);
// xhr.open("GET", "http://deckchain.com/api/unspsc/commodity_by_title.json?title=product", false);
xhr.send();

alert(xhr.status + " " + xhr.statusText + " " + xhr.body);