POST /api/datas
Create a new data.
Request
{
"name": "Jane Doe",
"email": "jane@example.com"
}
Response
{
"id": 101,
"name": "Jane Doe",
"email": "jane@example.com",
"created_at": "2024-01-15T10:30:00Z"
}
Status Codes
- 201 Created
- 400 Bad Request
- 409 Conflict (email already exists)