Use curl to query from the same origin.
Run curl https://your-domain/1.1.1.1 in your terminal to get a JSON response.
curl https://your-domain/1.1.1.1