Api Replace List Items has error

I run curl under windows

The result is

{
“result”: null,
“success”: false,
“errors”: [
{
“code”: 10026,
“message”: “filters.api.invalid_json”
}
],
“messages”: null
}

i send post is

–data ‘[{“ip”:“10.0.0.1”,“comment”:“Private IP address”}]’

I completely copied the example in the official document and changed it to my API token. I’m sure there’s no problem

If you are using this api call then I was able to get it to work with this.

curl --request PUT 'https://api.cloudflare.com/client/v4/accounts/<account id>/rules/lists/<list id>/items' \
--header 'Authorization: <>' \
--header 'Content-Type: application/json' \

--data-raw '[
    {
        "ip": "10.0.0.1",
        "comment": "test ip"
    }
]'