Comment #395
· 7/25/2024
Trepide auctor confugo amaritudo adnuo compello caelum. Accommodo delectatio canto. Maxime aliquid corrupti eaque maxime solio caput atqui appello. Tardus cui inventore aduro demo bis cauda abeo eius agnosco.
Overview
comments / #395
Trepide auctor confugo amaritudo adnuo compello caelum. Accommodo delectatio canto. Maxime aliquid corrupti eaque maxime solio caput atqui appello. Tardus cui inventore aduro demo bis cauda abeo eius agnosco.
Comment #395
7/25/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/395" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/395" ); 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/395"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/395"
)
comment = res.json() Response
{
"id": 395,
"userId": 153,
"targetType": "post",
"targetId": 464,
"body": "Trepide auctor confugo amaritudo adnuo compello caelum. Accommodo delectatio canto. Maxime aliquid corrupti eaque maxime solio caput atqui appello. Tardus cui inventore aduro demo bis cauda abeo eius agnosco.",
"isEdited": false,
"createdAt": "2024-07-25T09:30:36.265Z",
"updatedAt": "2024-07-25T09:30:36.265Z"
}