Everything works locally. Then I decided to deploy my project to the server (the project was made through Spring Boot). I send a request, let's say to http://api.aladhan.com/v1/methods, the status code 403 comes. And the response body itself (see below), what should I do?
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Just a moment...</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
</head>
<body class="no-js">
<div class="main-wrapper" role="main">
<div class="main-content">
<noscript>
<div id="challenge-error-title">
<div class="h2">
<span class="icon-wrapper">
<div class="heading-icon warning-icon"></div>
</span>
<span id="challenge-error-text">
Enable JavaScript and cookies to continue
</span>
</div>
</div>
</noscript>
<div id="trk_jschal_js" style="display:none;background-image:url('/cdn-cgi/images/trace/managed/nojs/transparent.gif?ray=7dd5a646caa441d4')"></div>
<form id="challenge-form" action="/v1/qibla/42.8746/74.5698?cf_chl_f_tk=eNrka2n_FyvvOBD4iiYRZFLd8amfV7KLTNTEyLjFndA-1687784597-0-gaNycGzNBXs" method="POST" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="md" value="xT94qLAJnbOjjWYyaWQ27UVaIQ2PAO1_Ue5ySGO8brM-1687784597-0-AdFqIQfdfHY9lX_yIjtLZ9UCNfRoo8E-9PT5gVgqxJXDw5Y8YPka0mq50VBYfa_oCiLbCcdJbrY0QihrzkK3WwPKTv5E5aqjWWD4qUrV6F6byH6sq1sbYHua-U4RxqO59YRB0ffHELx1sFc4YBUNuYt2B8K1JVsLvZ4xJO_xcsNtg4uPE5828RDqtGARb-00psepfuqEL0u60XRzsQB-NAKVJcY8z1JyIi61QAmIjFDa2Pk7ICVL2HytvPPn6unz_J45PKRAOfFbUn2hsnObVKTnS24K0CORPooQ2Ij-ZkuAH8NUYk8bJ69L3CkyXEBRW8M_2CookHq_c4ye1IjOEaoNdWmAKK-XYrin9uyKUI4EN1XLLOdBjSiTzgSRNncyBUleVV5USOO2uFGuYfqY4WtVqnoTmwtchSaRMNcXm2uOvnNbZBWewEU_ACMaWyg-Zn4iw58WIPtaEndp38SPQsYWEvHkS-sQ4dTKdsbkwJ_UYM5Yb-BAhfJN-kczCCqESmhDlD0P831E0V4g3U4K2nM1iTmExDIGngqVTqO8QuX-jFMBxoMXg988aaQmjojvLF0VTN6VFgfZjk7Fd-P5f_szanu5xOIxWwuomtt0vGls8Xmamj0068PmsRHn2Fg_fbwfZXrzii3helPo_BNvNQslhdr8096pEYbWTVq4eONdz3goQg4mQobBsE9w0C_MWqJabWu-goRPDEWtrNzbrjnTz9oaPRYquDUE9su3wlLI_T2rYeFKRJVhJJGEax4t5tCaJwvc0BcAqFwjnZ6aipxCyEJlLN_oj3fCkvzPV0QCOm6GRFVsuZWLLqrl7R31_JP0gF0p0NijNQ42ew-kEr-HkhSymzAubOPiOE1et5XyN7pWJD_68WPe0zYfuZ0ll8SXg1vZ8sP0QV1sqc-GxiBhVkQNPStlXFsrUX6NCiaFJdzUokJM25J42latBCFeoKU9wIV8tSCbwXq5r8_YVvdaeBUSfrryxnOee6VJ5h3eAFCR1xcgWQ_ebVCt3Ftnz60l_6Ulbqafa2zQWEaNmTR-orJCs0gOjxLWXRr3ZXeJv9xJoy9cyP69574S80CGv6Y1Qno4lTN-AfdrGel_rb9yzXrhAePZXPfJL2slcBujogRGMMGg3rNCi8IIAjl7sYyUNrUdIdS4BJz8Kw9cTUQHbx4c4AfkYB-zLtUw0n_gozAXE_gycxPGjUvSr7B_xyfsc3vJN6O-vQ9IohEuA3YHMjYJUusOzhkPylchtWcw6ShQ5GYAjF6APymPwdMacZgjvvVEDNpdQXKrVBJTX2sYchB7MlMnIw5Dfv7aK_GS8ubADlDNxhLgyFpYAMIUSw">
</form>
</div>
</div>
<script>
(function(){
window.cf_chl_opt={
cvId: '2',
cZone: 'api.aladhan.com',
cType: 'managed',
cNounce: '28865',
cRay: '7dd5a646caa441d4',
cHash: 'd06a6b84a4bb232',
cUPMDTk: "\/v1\/qibla\/42.8746\/74.5698?cf_chl_tk=eNrka2n_FyvvOBD4iiYRZFLd8amfV7KLTNTEyLjFndA-1687784597-0-gaNycGzNBXs",
cFPWv: 'g',
cTTimeMs: '1000',
cMTimeMs: '0',
cTplV: 5,
cTplB: 'cf',
cK: "",
cRq: {
ru: 'aHR0cDovL2FwaS5hbGFkaGFuLmNvbS92MS9xaWJsYS80Mi44NzQ2Lzc0LjU2OTg=',
ra: 'TW96aWxsYS81LjA=',
rm: 'R0VU',
d: '76jtONFof57y1wYqZCPW4N3DToWVfI1gWmLjKUAqOgw7lNGknzhqka3aq0ycYWQRM/mVi2haz07jrXdrRvV9ltAkiFzvQ2VQYtTLwGN3eYBQVlfKF9dWWDaK9/8oem4olwDwfdPX2JSjfGhd6GkJKXCg5TnQSF/XVwAqIYdjO0mcbHPld6wS5CxTrVRs5Nuo2kmcmRYwzBkMEl/CgVhq92UpqUYuM7miwvS2C+rHislioniUB/y/aUw84DnGtKoUWA+XEZeJdfzssNsJgVNiNl4uRGT0ABUKXN037kvZnHGrGsn/LbtEcSjO+HZ2O63al0ZT2p41wFFebfD5Y0pVYCBKRur7Uesg2O5qD28PjfG3ccpun7NXZvCWsaSexRvdZyVRuIcyIgIZoDjAp6VtPa1BNUu/z64s9W3LdJ4kHuMlJYC5tV2ivS1LPIcQCVcrnHJ8M9GIFqdCiU6pgFYPGJgBOV4tT8fsbZXrxA3I2unJz8UWFCBhs1/wRFNPZp4qWK8lnuFr71DpfZFv4kTogWqGe4eXNsYZYMUSUMYtfww=',
t: 'MTY4Nzc4NDU5Ny41NzMwMDA=',
cT: Math.floor(Date.now() / 1000),
m: 'EvUQ9SRDNOS57+v5JVjGRW95X/+/91XY7sToiRm1OAk=',
i1: 'z5a9GbA8Eptx9emgcfcWdw==',
i2: '9LjTleegZiz70VxRX3YUfg==',
zh: 'MznDdPXhqel5p/HGwlLjwcjkY6anmKgg4DIBIlsVkoM=',
uh: 'I4rnSxByZePBR4/c13OPNUH8bTiyQ5hIaKWyTILN3y8=',
hh: 't1DmikHBdGmP1tjmKmGeALZFQyvDUhF16DnMGMZjlDA=',
}
};
var trkjs = document.createElement('img');
trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=7dd5a646caa441d4');
trkjs.setAttribute('alt', '');
trkjs.setAttribute('style', 'display: none');
document.body.appendChild(trkjs);
var cpo = document.createElement('script');
cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=7dd5a646caa441d4';
window.cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;
window.cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window.cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;
if (window.history && window.history.replaceState) {
var ogU = location.pathname + window.cf_chl_opt.cOgUQuery + window.cf_chl_opt.cOgUHash;
history.replaceState(null, null, "\/v1\/qibla\/42.8746\/74.5698?__cf_chl_rt_tk=eNrka2n_FyvvOBD4iiYRZFLd8amfV7KLTNTEyLjFndA-1687784597-0-gaNycGzNBXs" + window._cf_chl_opt.cOgUHash);
cpo.onload = function() {
history.replaceState(null, null, ogU);
};
}
document.getElementsByTagName('head')[0].appendChild(cpo);
}());
</script>
</body>
</html>
nslookup -debug api.aladhan.com
Server: 8.8.8.8
Address: 8.8.8.8#53
QUESTIONS:
api.aladhan.com, type = A, class = IN
ANSWERS:
-> api.aladhan.com
internet address = 172.67.191.139
ttl = 300
-> api.aladhan.com
internet address = 104.21.92.102
ttl = 300
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
Non-authoritative answer:
Name: api.aladhan.com
Address: 172.67.191.139
Name: api.aladhan.com
Address: 104.21.92.102
QUESTIONS:
api.aladhan.com, type = AAAA, class = IN
ANSWERS:
-> api.aladhan.com
has AAAA address 2606:4700:3031::6815:5c66
ttl = 300
-> api.aladhan.com
has AAAA address 2606:4700:3030::ac43:bf8b
ttl = 300
AUTHORITY RECORDS:
ADDITIONAL RECORDS:
Name: api.aladhan.com
Address: 2606:4700:3031::6815:5c66
Name: api.aladhan.com
Address: 2606:4700:3030::ac43:bf8b