curl -X POST http://localhost:5000/scan \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
Response:
{
"url": "https://example.com",
"score": 0.12,
"label": "legit",
"explanation": "Contains HTTPS, no suspicious patterns"
}