Comment #687
· 8/13/2024
Decens temperantia tricesimus utpote facilis considero sui curia celebrer velut. Tergo suppellex aeger baiulus tot addo blandior adhuc vulpes viduo.
Overview
comments / #687
Decens temperantia tricesimus utpote facilis considero sui curia celebrer velut. Tergo suppellex aeger baiulus tot addo blandior adhuc vulpes viduo.
Comment #687
8/13/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/687" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/687" ); 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/687"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/687"
)
comment = res.json() Response
{
"id": 687,
"userId": 214,
"targetType": "post",
"targetId": 462,
"body": "Decens temperantia tricesimus utpote facilis considero sui curia celebrer velut. Tergo suppellex aeger baiulus tot addo blandior adhuc vulpes viduo.",
"isEdited": false,
"createdAt": "2024-08-13T13:05:53.221Z",
"updatedAt": "2024-08-13T13:05:53.221Z"
}