example-data.com
Menu
Browse docs and collections

Overview

comments / #986

Comment #986

· 12/26/2025

Voluptatibus barba aegrus supplanto summopere labore thermae ratione illo cogo. Civitas blandior alioqui tametsi. Aeger deleniti cernuus. Claudeo constans comprehendo eius dignissimos adstringo inventore.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 986,
  "userId": 212,
  "targetType": "post",
  "targetId": 168,
  "body": "Voluptatibus barba aegrus supplanto summopere labore thermae ratione illo cogo. Civitas blandior alioqui tametsi. Aeger deleniti cernuus. Claudeo constans comprehendo eius dignissimos adstringo inventore.",
  "isEdited": false,
  "createdAt": "2025-12-26T02:10:05.447Z",
  "updatedAt": "2025-12-26T02:10:05.447Z"
}