Json – Sending post though Powershell curl
For some reason when request is sent through Swagger it goes through without any issues But when I try to do the same thing with powershell I get 400 curl -Method Post -Uri "http://localhost:32774/WeatherForecast" -Headers @{ accept = '*/*';"Content-Type" ="application/json"…