diff --git a/README.md b/README.md index a525fde7562747f20d63e29c0da2e6797a4dd98f..cbc6c875057c61c41b11de1b6cb343803d202bd2 100644 --- a/README.md +++ b/README.md @@ -115,17 +115,18 @@ Dans la mesure où nous allons maintenant avoir des tests, ce développement se ## Définition de l'API pour notre gestion des tâches -| URI | Méthode | MIME | Réponse | ---- -| /taches | GET | application/json | liste des tâches | -| | | application/xml | | ---- -| /taches | POST | application/json | | -| | | application/x-www-form-urlencoded | la tâche crée | ---- -| /taches/{id} | GET | application/json | la tâche | -| /taches/{id} | PUT | application/json | la nouvelle tâche | -| | | | | +| URI | Méthode | MIME | Réponse | +|--------------|---------|-----------------------------------|-------------------| +| /taches | GET | application/json | liste des tâches | +| | | application/xml | | +| --- | | | | +| /taches | POST | application/json | | +| | | application/x-www-form-urlencoded | la tâche crée | +| --- | | | | +| /taches/{id} | GET | application/json | la tâche | +| --- | | | | +| /taches/{id} | PUT | application/json | la nouvelle tâche | +| | | | | ## Récupérer une tâche Nous pouvons déjà lancer les tests pour voir ce qu'il se passe : `mvn test`.