cURL
curl --request POST \ --url https://serengo.zias.be/api/finds/{findId}/comments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>" } '
{ "id": "<string>", "content": "<string>", "userId": "<string>", "findId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "user": { "id": "<string>", "username": "<string>", "profilePicture": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
500
Comment added
Show child attributes