Comment #902
· 1/22/2025
Vicinus vulnus sortitus vae tendo adhuc. Stultus amor arcus supplanto uxor.
Overview
comments / #902
Vicinus vulnus sortitus vae tendo adhuc. Stultus amor arcus supplanto uxor.
Comment #902
1/22/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/902" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/902" ); 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/902"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/902"
)
comment = res.json() Response
{
"id": 902,
"userId": 216,
"targetType": "post",
"targetId": 252,
"body": "Vicinus vulnus sortitus vae tendo adhuc. Stultus amor arcus supplanto uxor.",
"isEdited": false,
"createdAt": "2025-01-22T10:32:42.082Z",
"updatedAt": "2025-01-22T10:32:42.082Z"
}