Comment #473
· 7/17/2024
Cribro tenetur derelinquo cresco crapula. Eos sol absconditus atque volup decerno. Dolores amiculum agnitio contabesco tondeo aeternus pauper crudelis coepi animadverto. Cernuus vulariter abscido.
Overview
comments / #473
Cribro tenetur derelinquo cresco crapula. Eos sol absconditus atque volup decerno. Dolores amiculum agnitio contabesco tondeo aeternus pauper crudelis coepi animadverto. Cernuus vulariter abscido.
Comment #473
7/17/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/473" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/473" ); 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/473"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/473"
)
comment = res.json() Response
{
"id": 473,
"userId": 188,
"targetType": "post",
"targetId": 446,
"body": "Cribro tenetur derelinquo cresco crapula. Eos sol absconditus atque volup decerno. Dolores amiculum agnitio contabesco tondeo aeternus pauper crudelis coepi animadverto. Cernuus vulariter abscido.",
"isEdited": false,
"createdAt": "2024-07-17T07:40:15.262Z",
"updatedAt": "2024-07-17T07:40:15.262Z"
}