{
"matchId": 12345,
"homeTeam": "Liverpool",
"awayTeam": "Man City"
}
GET /api/v1/matches
Authorization: Bearer ...
Content-Type: application/json
const response =
await fetch(url);
const data =
await response.json();
{
"prediction": 0.87,
"confidence": "high"
}
import { ApiService }
from "@/services/api";
const api = new ApiService();
POST /api/v1/predictions
{
"matchId": 12345
}