Hi @RanjithR1,
If CURL is returning 302, check if you have a redirect to the homepage, like /global/en, in that case, this is expected. Try to add the correct page path to your request, for example:
curl -I https://publish-pXXXX-eXXXX.adobeaemcloud.com/global/en -H "X-Forwarded-Host: my-domain.com" ...