example-data.com
Menu
Browse docs and collections

Overview

comments / #1083

Comment #1083

· 2/11/2026

Vigor cohors quia speciosus audio vetus cultellus tonsor veritatis. Repellat cohaero deleo basium. Ab tremo sumptus calamitas conventus ulciscor abutor consequuntur taedium crinis. Arto odit perspiciatis villa cunae vos velut.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1083,
  "userId": 117,
  "targetType": "post",
  "targetId": 30,
  "body": "Vigor cohors quia speciosus audio vetus cultellus tonsor veritatis. Repellat cohaero deleo basium. Ab tremo sumptus calamitas conventus ulciscor abutor consequuntur taedium crinis. Arto odit perspiciatis villa cunae vos velut.",
  "isEdited": true,
  "createdAt": "2026-02-11T05:45:45.947Z",
  "updatedAt": "2026-03-16T12:08:35.295Z"
}