example-data.com
Menu
Browse docs and collections

Overview

comments / #160

Comment #160

· 2/15/2026

Debilito turpis conicio doloremque est. Quam nostrum defungo suus animadverto spoliatio. Dolorum temporibus veniam facere sufficio aufero communis. Textilis pecto optio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 160,
  "userId": 214,
  "targetType": "post",
  "targetId": 66,
  "body": "Debilito turpis conicio doloremque est. Quam nostrum defungo suus animadverto spoliatio. Dolorum temporibus veniam facere sufficio aufero communis. Textilis pecto optio.",
  "isEdited": true,
  "createdAt": "2026-02-15T05:10:49.639Z",
  "updatedAt": "2026-03-05T03:08:11.972Z"
}