example-data.com

comments / #1161

Comment #1161

· 9/26/2024

Desparatus carus corona in. Unus pax surculus.

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/comments/1161" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/comments/1161"
);
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/1161"
);
const comment = (await res.json()) as Comment;
import requests

res = requests.get(
    "https://example-data.com/api/v1/comments/1161"
)
comment = res.json()
{
  "id": 1161,
  "userId": 24,
  "targetType": "post",
  "targetId": 472,
  "body": "Desparatus carus corona in. Unus pax surculus.",
  "isEdited": false,
  "createdAt": "2024-09-26T01:40:09.813Z",
  "updatedAt": "2024-09-26T01:40:09.813Z"
}
Draftbit