Comment #103
· 9/17/2024
Cohibeo una triduana.
comments / #103
Cohibeo una triduana.
Comment #103
9/17/2024
curl -sS \
"https://example-data.com/api/v1/comments/103" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/103"
);
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/103"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/103"
)
comment = res.json() {
"id": 103,
"userId": 115,
"targetType": "post",
"targetId": 372,
"body": "Cohibeo una triduana.",
"isEdited": true,
"createdAt": "2024-09-17T17:11:35.790Z",
"updatedAt": "2024-10-04T17:31:41.354Z"
}