curl --request POST \
--url https://api.example.com/cases/{case_id}/comments \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"content": "<string>",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a new comment on a case.
curl --request POST \
--url https://api.example.com/cases/{case_id}/comments \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"content": "<string>",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?