Comment #293
· 4/24/2025
Possimus vomica averto enim super. Aegrus curis aspicio aveho allatus.
Overview
comments / #293
Possimus vomica averto enim super. Aegrus curis aspicio aveho allatus.
Comment #293
4/24/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/293" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/293" ); 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/293"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/293"
)
comment = res.json() Response
{
"id": 293,
"userId": 183,
"targetType": "post",
"targetId": 21,
"body": "Possimus vomica averto enim super. Aegrus curis aspicio aveho allatus.",
"isEdited": false,
"createdAt": "2025-04-24T22:49:18.253Z",
"updatedAt": "2025-04-24T22:49:18.253Z"
}