example-data.com
Menu
Browse docs and collections

Overview

comments / #840

Comment #840

· 3/16/2026

Caste venia utique tot coniecto spiculum anser quaerat vae. Adstringo molestiae paens synagoga tamisium. Earum depopulo sto nam officia.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 840,
  "userId": 196,
  "targetType": "post",
  "targetId": 365,
  "body": "Caste venia utique tot coniecto spiculum anser quaerat vae. Adstringo molestiae paens synagoga tamisium. Earum depopulo sto nam officia.",
  "isEdited": false,
  "createdAt": "2026-03-16T09:43:11.725Z",
  "updatedAt": "2026-03-16T09:43:11.725Z"
}