Comment #118
· 7/3/2025
Sint vitae civis custodia adipiscor uredo argumentum cimentarius. Caveo cauda a cervus patior adopto alo capto.
Overview
comments / #118
Sint vitae civis custodia adipiscor uredo argumentum cimentarius. Caveo cauda a cervus patior adopto alo capto.
Comment #118
7/3/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/118" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/118" ); 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/118"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/118"
)
comment = res.json() Response
{
"id": 118,
"userId": 226,
"targetType": "post",
"targetId": 12,
"body": "Sint vitae civis custodia adipiscor uredo argumentum cimentarius. Caveo cauda a cervus patior adopto alo capto.",
"isEdited": false,
"createdAt": "2025-07-03T02:42:55.736Z",
"updatedAt": "2025-07-03T02:42:55.736Z"
}