x
var settings = {
"url": "https://json.astrologyapi.com/v1/planets/tropical",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Authorization": "Basic NjMzNDM1OmM3NTJmMWRkZTJlODUzMGUwMTg2YTFlMGE3NDJkM2Y3NWIxZDNmNDU="
},
"data": {
"day": "28",
"month": "2",
"year": "1994",
"hour": "0",
"min": "25",
"lat": "46.51",
"lon": "6.63",
"tzone": "1"
}
};
$.ajax(settings).done(function (response) {
console.log(response);
});