Interactive testing interface for the Contract Management API
(loading...)
/health
Check API health and status
/contracts
Retrieve all contracts
/contracts/{id}
Retrieve a specific contract by ID
/contracts
Create a new contract
/stats
Get contract statistics and analytics
/contracts/{id}
Delete a contract by ID
{
"title": "Web Development Contract",
"client": "TechStart Inc",
"provider": "DevStudio",
"amount": 75000,
"description": "Full-stack web application development",
"expiryDate": "2025-12-31"
}
# Get all contracts
curl http://localhost:8080/api/contracts
# Create new contract
curl -X POST http://localhost:8080/api/contracts \
-H "Content-Type: application/json" \
-d '{"title":"Test","client":"Client","provider":"Provider","amount":5000}'