From 7a85da510023595e54029fe842e9f2784e27f800 Mon Sep 17 00:00:00 2001 From: Yvan Peter <yvan.peter@univ-lille.fr> Date: Fri, 5 Feb 2021 17:48:18 +0100 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20tableau?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a525fde..cbc6c87 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`. -- GitLab