Hello,
I am reading the API documentation and I am having trouble figuring out how
to make a GET request to the API. How can I get the data as a JSON object?
Previous APIs that I work with have generally had some kind of schema like
the following:
$.get("url.goes/here", function(data) {
console.log(data);
});
But I cannot seem to figure out what url to send the GET request to. On the
pages, I see, for example, /api/2/tags/(*int: **count*).json, but this
does not work when I copy and paste it into the get request as follows:
$.get(" /api/2/tags/.json ", function(data) {
console.log(data);
});
Is it even possible to make requests like this to the API?
Thanks,
Nathan Alam