Comment #817
· 8/16/2024
Socius consuasor tantum corrumpo vereor canis conculco. Trepide tunc vesper cetera. Coniecto solutio subnecto. Trepide fugit adhaero terminatio abutor voluptas inflammatio.
Overview
comments / #817
Socius consuasor tantum corrumpo vereor canis conculco. Trepide tunc vesper cetera. Coniecto solutio subnecto. Trepide fugit adhaero terminatio abutor voluptas inflammatio.
Comment #817
8/16/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/817" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/817" ); 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/817"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/817"
)
comment = res.json() Response
{
"id": 817,
"userId": 116,
"targetType": "post",
"targetId": 154,
"body": "Socius consuasor tantum corrumpo vereor canis conculco. Trepide tunc vesper cetera. Coniecto solutio subnecto. Trepide fugit adhaero terminatio abutor voluptas inflammatio.",
"isEdited": false,
"createdAt": "2024-08-16T15:26:33.417Z",
"updatedAt": "2024-08-16T15:26:33.417Z"
}