example-data.com

comments / #12

Comment #12

· 12/1/2024

Amet tyrannus vomer dicta texo cohaero valde concido. Conqueror antiquus vito arma tui porro adflicto adhaero decimus uter. Ultio accendo adipiscor creber.

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/comments/12" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/comments/12"
);
const comment = await res.json();
import type { Comment } from "https://example-data.com/types/comments.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/comments/12"
);
const comment = (await res.json()) as Comment;
import requests

res = requests.get(
    "https://example-data.com/api/v1/comments/12"
)
comment = res.json()
{
  "id": 12,
  "userId": 178,
  "targetType": "post",
  "targetId": 375,
  "body": "Amet tyrannus vomer dicta texo cohaero valde concido. Conqueror antiquus vito arma tui porro adflicto adhaero decimus uter. Ultio accendo adipiscor creber.",
  "isEdited": false,
  "createdAt": "2024-12-01T06:11:57.657Z",
  "updatedAt": "2024-12-01T06:11:57.657Z"
}
Draftbit