Comment #392
· 12/22/2024
Appono vehemens magnam somniculosus quasi aureus. Dolorem amplus amor tempora thema beneficium odio. Vix succurro deprimo nisi.
Overview
comments / #392
Appono vehemens magnam somniculosus quasi aureus. Dolorem amplus amor tempora thema beneficium odio. Vix succurro deprimo nisi.
Comment #392
12/22/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/392" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/392" ); 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/392"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/392"
)
comment = res.json() Response
{
"id": 392,
"userId": 226,
"targetType": "post",
"targetId": 345,
"body": "Appono vehemens magnam somniculosus quasi aureus. Dolorem amplus amor tempora thema beneficium odio. Vix succurro deprimo nisi.",
"isEdited": false,
"createdAt": "2024-12-22T16:29:16.942Z",
"updatedAt": "2024-12-22T16:29:16.942Z"
}