Comment #711
· 8/14/2024
Curo quia calculus bene. Teneo deleo decens casus. Bellicus verus volo tantum. Corpus quo voco maxime ver adulatio audeo quia vivo vel.
Overview
comments / #711
Curo quia calculus bene. Teneo deleo decens casus. Bellicus verus volo tantum. Corpus quo voco maxime ver adulatio audeo quia vivo vel.
Comment #711
8/14/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/711" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/711" ); 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/711"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/711"
)
comment = res.json() Response
{
"id": 711,
"userId": 80,
"targetType": "post",
"targetId": 134,
"body": "Curo quia calculus bene. Teneo deleo decens casus. Bellicus verus volo tantum. Corpus quo voco maxime ver adulatio audeo quia vivo vel.",
"isEdited": false,
"createdAt": "2024-08-14T14:15:54.751Z",
"updatedAt": "2024-08-14T14:15:54.751Z"
}