Comment #185
· 2/3/2025
Bibo claudeo eos conatus sortitus vesco abscido. Libero subseco contigo placeat tero.
Overview
comments / #185
Bibo claudeo eos conatus sortitus vesco abscido. Libero subseco contigo placeat tero.
Comment #185
2/3/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/185" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/185" ); 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/185"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/185"
)
comment = res.json() Response
{
"id": 185,
"userId": 181,
"targetType": "post",
"targetId": 40,
"body": "Bibo claudeo eos conatus sortitus vesco abscido. Libero subseco contigo placeat tero.",
"isEdited": false,
"createdAt": "2025-02-03T18:05:42.416Z",
"updatedAt": "2025-02-03T18:05:42.416Z"
}