Comment #242
· 5/22/2025
Tristis ad terga vomito speculum ustulo avaritia iste. Umbra stultus collum defaeco talus villa.
Overview
comments / #242
Tristis ad terga vomito speculum ustulo avaritia iste. Umbra stultus collum defaeco talus villa.
Comment #242
5/22/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/242" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/242" ); 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/242"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/242"
)
comment = res.json() Response
{
"id": 242,
"userId": 175,
"targetType": "post",
"targetId": 164,
"body": "Tristis ad terga vomito speculum ustulo avaritia iste. Umbra stultus collum defaeco talus villa.",
"isEdited": false,
"createdAt": "2025-05-22T08:06:22.407Z",
"updatedAt": "2025-05-22T08:06:22.407Z"
}