API Endpoint
GET /.netlify/functions/whoami
Your Information
Example Usage
cURL
curl https://your-domain.com/.netlify/functions/whoami
JavaScript (Fetch)
fetch('/.netlify/functions/whoami')
.then(response => response.json())
.then(data => console.log(data));
Expected Response
{
"ipaddress": "192.168.1.1",
"language": "en-US",
"software": "Chrome"
}