example-data.com
Menu
Browse docs and collections

Overview

comments / #539

Comment #539

· 8/14/2025

Quisquam usitas taedium crux tempore sit corrupti stultus caelestis bis. Calcar labore claustrum cariosus derelinquo. Turpis cattus aveho abscido tamdiu magni creator molestiae possimus depereo. Damnatio argumentum sit amicitia ultio vesica solus utroque.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 539,
  "userId": 132,
  "targetType": "post",
  "targetId": 68,
  "body": "Quisquam usitas taedium crux tempore sit corrupti stultus caelestis bis. Calcar labore claustrum cariosus derelinquo. Turpis cattus aveho abscido tamdiu magni creator molestiae possimus depereo. Damnatio argumentum sit amicitia ultio vesica solus utroque.",
  "isEdited": false,
  "createdAt": "2025-08-14T01:04:17.997Z",
  "updatedAt": "2025-08-14T01:04:17.997Z"
}