example-data.com
Menu
Browse docs and collections

Overview

comments / #231

Comment #231

· 12/16/2025

Sordeo defleo culpo sol denuncio animi corroboro conatus timor conspergo. Calco acies creta despecto vir ambulo clementia ver summisse. Vester amita color vita. Comes tenax id universe corpus aetas provident veritas attollo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 231,
  "userId": 192,
  "targetType": "post",
  "targetId": 177,
  "body": "Sordeo defleo culpo sol denuncio animi corroboro conatus timor conspergo. Calco acies creta despecto vir ambulo clementia ver summisse. Vester amita color vita. Comes tenax id universe corpus aetas provident veritas attollo.",
  "isEdited": false,
  "createdAt": "2025-12-16T07:55:13.663Z",
  "updatedAt": "2025-12-16T07:55:13.663Z"
}