example-data.com
Menu
Browse docs and collections

Overview

comments / #1093

Comment #1093

· 8/17/2025

Territo causa vigilo cognatus caste terga. Supplanto casso dapifer vulticulus auxilium desipio arcus ademptio deleo antea. Abduco tero caecus adicio congregatio carcer amicitia. Cras addo labore aro amicitia usus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1093,
  "userId": 109,
  "targetType": "post",
  "targetId": 455,
  "body": "Territo causa vigilo cognatus caste terga. Supplanto casso dapifer vulticulus auxilium desipio arcus ademptio deleo antea. Abduco tero caecus adicio congregatio carcer amicitia. Cras addo labore aro amicitia usus.",
  "isEdited": false,
  "createdAt": "2025-08-17T17:44:52.207Z",
  "updatedAt": "2025-08-17T17:44:52.207Z"
}