example-data.com
Menu
Browse docs and collections

Overview

tasks / #587

Test error handling

projectId
projects/71
assigneeUserId
Ethyl Auer @ethyl_auer89
title
Test error handling
description
Cedo pariatur tertius accendo.
status
done
priority
urgent
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/587"
);
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/587"
);
const task = (await res.json()) as Task;

Python example

import requests

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

Response

{
  "id": 587,
  "projectId": 71,
  "assigneeUserId": 95,
  "title": "Test error handling",
  "description": "Cedo pariatur tertius accendo.",
  "status": "done",
  "priority": "urgent",
  "dueDate": null,
  "createdAt": "2025-10-30T07:13:25.714Z",
  "updatedAt": "2026-03-24T10:29:14.933Z"
}