example-data.com
Menu
Browse docs and collections

Overview

comments / #797

Comment #797

· 9/21/2025

Defungo unus velum ullam carus callide attollo torqueo. Vicissitudo decens laborum cado strenuus. Velociter et caute sonitus et undique vindico adflicto canis studio. Aggero sui angulus bibo claro pauci.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 797,
  "userId": 85,
  "targetType": "post",
  "targetId": 388,
  "body": "Defungo unus velum ullam carus callide attollo torqueo. Vicissitudo decens laborum cado strenuus. Velociter et caute sonitus et undique vindico adflicto canis studio. Aggero sui angulus bibo claro pauci.",
  "isEdited": false,
  "createdAt": "2025-09-21T10:36:43.342Z",
  "updatedAt": "2025-09-21T10:36:43.342Z"
}