Comment #1134
· 8/30/2024
Viscus animi sum tabesco consequuntur corrigo succurro vinco terebro utique. Utrum adstringo sunt altus deficio comedo creptio conservo vivo.
Overview
comments / #1134
Viscus animi sum tabesco consequuntur corrigo succurro vinco terebro utique. Utrum adstringo sunt altus deficio comedo creptio conservo vivo.
Comment #1134
8/30/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/1134" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/1134" ); 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/1134"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/1134"
)
comment = res.json() Response
{
"id": 1134,
"userId": 131,
"targetType": "post",
"targetId": 226,
"body": "Viscus animi sum tabesco consequuntur corrigo succurro vinco terebro utique. Utrum adstringo sunt altus deficio comedo creptio conservo vivo.",
"isEdited": false,
"createdAt": "2024-08-30T00:07:28.875Z",
"updatedAt": "2024-08-30T00:07:28.875Z"
}