example-data.com
Menu
Browse docs and collections

Overview

comments / #362

Comment #362

· 12/14/2025

Absque uter utilis verumtamen arcesso admoveo spes sapiente curatio thema. Colligo acervus quia demum audio fugit sulum velut. Comparo curis corrumpo patrocinor usque spoliatio tollo ullus thalassinus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 362,
  "userId": 163,
  "targetType": "post",
  "targetId": 390,
  "body": "Absque uter utilis verumtamen arcesso admoveo spes sapiente curatio thema. Colligo acervus quia demum audio fugit sulum velut. Comparo curis corrumpo patrocinor usque spoliatio tollo ullus thalassinus.",
  "isEdited": false,
  "createdAt": "2025-12-14T20:56:00.667Z",
  "updatedAt": "2025-12-14T20:56:00.667Z"
}