If you run curl on powershell, you may not get what you’re expecting. This is because it’s just an alias for Invoke-WebRequest. Instead, use curl.exe, which points to C:\Windows\System32 and works the same as curl on Linux environment.
curl https://jsonplaceholder.typicode.com/todos/
StatusCode : 200
StatusDescription : OK
Content : [
{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
},
...
curl.exe https://jsonplaceholder.typicode.com/todos/
[
{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
},
...