JSFiddle - React, Tailwind, and code Playground

JavaScript

$.getJSON( "http://ip.jsontest.com/", function( data ){  
    console.log(data);
 });