In curl The entire URL should be enclosed in quotes to ensure that the shell interprets it correctly:
curl
curl -X GET "https://localhost:7091/api/Sensors/VK_THC_GreenRoom/zf?when=2025-03-15T08:00:00Z&wind=Calm"