Comment #257
· 7/20/2024
Suasoria colligo vacuus. Super verbera advoco expedita. Delicate caelum consectetur conculco denuncio caste.
Overview
comments / #257
Suasoria colligo vacuus. Super verbera advoco expedita. Delicate caelum consectetur conculco denuncio caste.
Comment #257
7/20/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/257" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/257" ); 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/257"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/257"
)
comment = res.json() Response
{
"id": 257,
"userId": 151,
"targetType": "post",
"targetId": 26,
"body": "Suasoria colligo vacuus. Super verbera advoco expedita. Delicate caelum consectetur conculco denuncio caste.",
"isEdited": false,
"createdAt": "2024-07-20T04:45:41.485Z",
"updatedAt": "2024-07-20T04:45:41.485Z"
}