example-data.com
Menu
Browse docs and collections

Overview

comments / #153

Comment #153

· 5/12/2025

Suppono debitis vulnus aeneus abutor patior vulgaris suscipio velociter. Surculus temperantia currus tondeo video admoneo arx unde textus degusto. Adeo appono infit advoco quo ademptio soleo corrumpo abbas ceno. Adulescens incidunt careo accendo similique utor patior dolor vox varietas.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 153,
  "userId": 145,
  "targetType": "post",
  "targetId": 347,
  "body": "Suppono debitis vulnus aeneus abutor patior vulgaris suscipio velociter. Surculus temperantia currus tondeo video admoneo arx unde textus degusto. Adeo appono infit advoco quo ademptio soleo corrumpo abbas ceno. Adulescens incidunt careo accendo similique utor patior dolor vox varietas.",
  "isEdited": false,
  "createdAt": "2025-05-12T16:11:30.188Z",
  "updatedAt": "2025-05-12T16:11:30.188Z"
}