JSFiddle - React, Tailwind, and code Playground

JavaScript

$.getJSON("http://rate-exchange.herokuapp.com/fetchRate?from=SGD&to=MYR&lang=en-us&format=json", function (data) {
    console.log(data);
});