example-data.com
Menu
Browse docs and collections

Overview

comments / #807

Comment #807

· 12/24/2025

Spiritus solitudo tyrannus apto. Versus causa curo tripudio tempora maiores. Uberrime cibo angelus conforto. Coniuratio corroboro acidus attollo cubicularis virgo supra contabesco cornu circumvenio.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/comments/807" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/comments/807"
);
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/807"
);
const comment = (await res.json()) as Comment;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/comments/807"
)
comment = res.json()

Response

{
  "id": 807,
  "userId": 103,
  "targetType": "post",
  "targetId": 105,
  "body": "Spiritus solitudo tyrannus apto. Versus causa curo tripudio tempora maiores. Uberrime cibo angelus conforto. Coniuratio corroboro acidus attollo cubicularis virgo supra contabesco cornu circumvenio.",
  "isEdited": true,
  "createdAt": "2025-12-24T14:31:51.560Z",
  "updatedAt": "2026-01-15T02:09:13.954Z"
}