GET /api/ip
HTTP 200 OK
{
"ip": "18.97.9.175",
"remote_ip": "18.97.9.175",
"x_forwarded_for": "18.97.9.175, 172.70.39.126, 10.255.0.1",
"cf_connecting_ip": "18.97.9.175"
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<ip>18.97.9.175</ip>
<remote-ip>18.97.9.175</remote-ip>
<x-forwarded-for>18.97.9.175, 172.70.39.126, 10.255.0.1</x-forwarded-for>
<cf-connecting-ip>18.97.9.175</cf-connecting-ip>
</hash>
Path | Verb | Controller#Action |
---|---|---|
ip | GET | api/root#ip |