example-data.com
Menu
Browse docs and collections

Overview

comments / #132

Comment #132

· 4/9/2026

Tot suggero caries thesaurus amplitudo approbo. Abduco utroque voro. Impedit quisquam beneficium terga ipsum strenuus vestigium ullus quas atqui. Supplanto tendo autem apto.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 132,
  "userId": 220,
  "targetType": "post",
  "targetId": 384,
  "body": "Tot suggero caries thesaurus amplitudo approbo. Abduco utroque voro. Impedit quisquam beneficium terga ipsum strenuus vestigium ullus quas atqui. Supplanto tendo autem apto.",
  "isEdited": false,
  "createdAt": "2026-04-09T17:29:58.482Z",
  "updatedAt": "2026-04-09T17:29:58.482Z"
}