example-data.com
Menu
Browse docs and collections

Overview

comments / #579

Comment #579

· 10/26/2025

Angulus tabella verto conservo quas vilicus terga tutis deputo thesaurus. Necessitatibus aegrotatio celo decet. Vulgus aestivus vulgus vociferor turbo. Sublime astrum accedo adstringo appono dedecor culpa.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 579,
  "userId": 49,
  "targetType": "post",
  "targetId": 158,
  "body": "Angulus tabella verto conservo quas vilicus terga tutis deputo thesaurus. Necessitatibus aegrotatio celo decet. Vulgus aestivus vulgus vociferor turbo. Sublime astrum accedo adstringo appono dedecor culpa.",
  "isEdited": false,
  "createdAt": "2025-10-26T07:09:02.943Z",
  "updatedAt": "2025-10-26T07:09:02.943Z"
}