API requests to IP

In a multitenant production ERPNext, is it possible to do API requests to an IP address instead of domain name?

Try using host header?

Sorry… how? Can you give example?

curl -H "Host: site.name" http://1.1.1.1
1 Like