example-data.com
Menu
Browse docs and collections

Overview

comments / #562

Comment #562

· 3/7/2026

Terga ver tego optio bestia vindico. Ante textor summopere. Spoliatio adulescens tabesco benevolentia thesaurus sum tribuo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 562,
  "userId": 58,
  "targetType": "post",
  "targetId": 85,
  "body": "Terga ver tego optio bestia vindico. Ante textor summopere. Spoliatio adulescens tabesco benevolentia thesaurus sum tribuo.",
  "isEdited": false,
  "createdAt": "2026-03-07T10:29:54.514Z",
  "updatedAt": "2026-03-07T10:29:54.514Z"
}