All endpoints
Env File Diff
POST
/api/v1/tools/env-diffCompare two .env files by key and see exactly what was added, removed or changed.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/tools/env-diffParameters
beforestringrequiredOriginal .env-style text.
afterstringrequiredModified .env-style text.
Request body
{
"before": "API_URL=https://api.example.com\nDEBUG=false",
"after": "API_URL=https://api.example.com\nDEBUG=true\nNEW_FLAG=1"
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/tools/env-diff \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"before":"API_URL=https://api.example.com\nDEBUG=false","after":"API_URL=https://api.example.com\nDEBUG=true\nNEW_FLAG=1"}'Response
{ "entries": [{ "key": "API_URL", "status": "same" }, { "key": "DEBUG", "status": "changed", "before": "false", "after": "true" }, { "key": "NEW_FLAG", "status": "added", "after": "1" }], "changedCount": 2 }
