Comment #818
· 10/4/2024
Tredecim trans defaeco quasi acervus abbas vespillo claudeo. Cibo vox sono claudeo una vulgaris usque audacia pel demum.
Overview
comments / #818
Tredecim trans defaeco quasi acervus abbas vespillo claudeo. Cibo vox sono claudeo una vulgaris usque audacia pel demum.
Comment #818
10/4/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/818" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/818" ); const comment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/comments.d.ts https://example-data.com/types/comments.d.ts
import type { Comment } from "./types/comments";
const res = await fetch(
"https://example-data.com/api/v1/comments/818"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/818"
)
comment = res.json() Response
{
"id": 818,
"userId": 206,
"targetType": "post",
"targetId": 256,
"body": "Tredecim trans defaeco quasi acervus abbas vespillo claudeo. Cibo vox sono claudeo una vulgaris usque audacia pel demum.",
"isEdited": false,
"createdAt": "2024-10-04T04:35:49.930Z",
"updatedAt": "2024-10-04T04:35:49.930Z"
}