example-data.com
Menu
Browse docs and collections

Overview

comments / #311

Comment #311

· 1/15/2026

Vomica vulariter velociter tendo vinculum color cenaculum cupressus. Comedo approbo sit vis territo custodia cubo appello sto curriculum. Attonbitus tabesco natus depulso. Torqueo sublime cultura iusto.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 311,
  "userId": 90,
  "targetType": "post",
  "targetId": 112,
  "body": "Vomica vulariter velociter tendo vinculum color cenaculum cupressus. Comedo approbo sit vis territo custodia cubo appello sto curriculum. Attonbitus tabesco natus depulso. Torqueo sublime cultura iusto.",
  "isEdited": false,
  "createdAt": "2026-01-15T10:18:01.718Z",
  "updatedAt": "2026-01-15T10:18:01.718Z"
}