JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

$.ajax({
    url: 'http://www.ncdc.noaa.gov/cdo-web/api/v2/datacategories/TEMP?locationid=CITY:US250002',
    headers: {
        token: 'wbAFVZPlrMxCUuKEwGlzqAqPntTcwaeP'
    },
    beforeSend: function() {
       $('#div').html('LOADING'); 
    },
    success: function(data) {
        $('#div').html(JSON.stringify(data) + '<br/>');
    }
});
// City of Boston
// http://www.ncdc.noaa.gov/cdo-web/api/v2/locations/CITY:US250002?
// Air Temperature
// http://www.ncdc.noaa.gov/cdo-web/api/v2/datacategories/TEMP