JSFiddle - React, Tailwind, and code Playground

JavaScript

$.ajax({
	         //url: 'http://ip.jsontest.com/',
	        // url: 'http://ipinfo.io/json',
			//url: 'http://ip-api.com/json',
			url: 'http://www.onecert.com.br/json.asp',
  	        success: function(data) {      	
	        alert("OK");    
	        },
	        error: function(dataerror) {
		    alert("NO");
            }
        });