I have service which is hosted on let's say www.xyz.com.
Now I have a front end which is hosted on www.abc.com, it is calling the backend www.xyz.com via a proxy.
Internally in the service www.xyz.com I calling a third party API. This API should only be called if it is coming from www.abc.com.
When I checked the http.Request, r.Host, I am seeing the host to be www.xyz.com, rather than abc.com.
How to check the host name from where it is coming?
Thanks