Dude, Windows cmd is the worst for curl post json. Powershell might save you here. Try this:
```powershell
curl.exe -X POST https://api.example.com/data -H "Content-Type: application/json" -d '{\"name\":\"test\",\"value\":123}'
```
Or just use WSL if you can.
Pro tip: Add `-v` to your curl command to see the raw request/response. Might show why the server’s ignoring your JSON.
```powershell
curl.exe -X POST https://api.example.com/data -H "Content-Type: application/json" -d '{\"name\":\"test\",\"value\":123}'
```
Or just use WSL if you can.
Pro tip: Add `-v` to your curl command to see the raw request/response. Might show why the server’s ignoring your JSON.
