example-data.com
Menu
Browse docs and collections

Overview

comments / #31

Comment #31

· 4/2/2026

Depono surgo strenuus coniuratio. Bestia reprehenderit usus. Uxor vigor ara deporto solio amita totidem antea ambulo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 31,
  "userId": 52,
  "targetType": "post",
  "targetId": 7,
  "body": "Depono surgo strenuus coniuratio. Bestia reprehenderit usus. Uxor vigor ara deporto solio amita totidem antea ambulo.",
  "isEdited": false,
  "createdAt": "2026-04-02T06:48:20.308Z",
  "updatedAt": "2026-04-02T06:48:20.308Z"
}