Comment #426
· 7/19/2024
Amitto curto alo speculum cupio. Celer tyrannus antepono claro admoneo spero tondeo. Pauci ullus carcer vix deprimo textor arx. Quibusdam eveniet clarus vulgaris acer.
Overview
comments / #426
Amitto curto alo speculum cupio. Celer tyrannus antepono claro admoneo spero tondeo. Pauci ullus carcer vix deprimo textor arx. Quibusdam eveniet clarus vulgaris acer.
Comment #426
7/19/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/426" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/426" ); 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/426"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/426"
)
comment = res.json() Response
{
"id": 426,
"userId": 244,
"targetType": "post",
"targetId": 230,
"body": "Amitto curto alo speculum cupio. Celer tyrannus antepono claro admoneo spero tondeo. Pauci ullus carcer vix deprimo textor arx. Quibusdam eveniet clarus vulgaris acer.",
"isEdited": false,
"createdAt": "2024-07-19T18:50:53.440Z",
"updatedAt": "2024-07-19T18:50:53.440Z"
}