JSFiddle - React, Tailwind, and code Playground

HTML

<div></div>

JavaScript

$.ajax({
	type: "POST",
	url: "http://www.previsaodotempo.org/api.php?city=Rio+De+Janeiro",
	success: function(data) {
		alert()
		data.location;
		$("div").html(data);
	},
	error: function(data) {
		$("div").html('can not get the json');
	}
});