example-data.com
Menu
Browse docs and collections

Overview

tasks / #132

Test error handling

projectId
projects/17
assigneeUserId
Tiara Wilderman @tiara_wilderman
title
Test error handling
description
Conspergo timidus totam.
status
done
priority
urgent
dueDate
2026-07-08
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tasks/132" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/132"
);
const task = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/tasks.d.ts https://example-data.com/types/tasks.d.ts
import type { Task } from "./types/tasks";

const res = await fetch(
  "https://example-data.com/api/v1/tasks/132"
);
const task = (await res.json()) as Task;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tasks/132"
)
task = res.json()

Response

{
  "id": 132,
  "projectId": 17,
  "assigneeUserId": 66,
  "title": "Test error handling",
  "description": "Conspergo timidus totam.",
  "status": "done",
  "priority": "urgent",
  "dueDate": "2026-07-08",
  "createdAt": "2025-09-26T04:10:06.832Z",
  "updatedAt": "2025-12-18T22:12:00.922Z"
}