This looks like Windows, so PowerShell and not curl may be in use here.
The following explanation helped me when I was learning how to call the REST API for the first time:
https://forum.syncthing.net/t/how-to-call-the-rest-api-from-windows-powershell/11269
Just try using https instead of http in the URL.