From 60b681ae6925e6e6804ca16aeb3b38afe4fcc208 Mon Sep 17 00:00:00 2001 From: Yvan Peter <yvan.peter@univ-lille.fr> Date: Fri, 5 Feb 2021 18:13:11 +0100 Subject: [PATCH] test tableau --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7dca299..075b61d 100644 --- a/README.md +++ b/README.md @@ -118,12 +118,12 @@ Notre ressource sera accessible via le chemin `/api/v1`. Le tableau ci-dessous l | URI | Méthode | MIME | Requête | Réponse | |--------------------------|---------|--------------------------------------------------------------------------------------------|------------|----------------------| -| /taches | GET | :arrow_left:application/json<br>:arrow_left:application/xml | | liste des tâches | -| /taches | POST | :arrow_left::arrow_right:application/json<br>:arrow_left:application/x-www-form-urlencoded | tâche (T1) | | -| /taches/{id} | GET | :arrow_left:application/json<br>:arrow_left:application/xml | | la tâche (T2) | -| /taches/{id} | PUT | :arrow_left::arrow_right:application/json | tâche (T2) | la nouvelle tâche (T2) | +| /taches | GET | <-application/json<br><-application/xml | | liste des tâches | +| /taches | POST | <-:->application/json<br><-:application/x-www-form-urlencoded | tâche (T1) | | +| /taches/{id} | GET | <-:application/json<br><-:application/xml | | la tâche (T2) | +| /taches/{id} | PUT | <-:->application/json | tâche (T2) | la nouvelle tâche (T2) | | /taches/{id} | DELETE | | | 204 No Content | -| /taches/{id}/description | GET | :arrow_left:text/plain | | chaîne de caractères | +| /taches/{id}/description | GET | <-:text/plain | | chaîne de caractères | ## Récupérer une tâche Nous pouvons déjà lancer les tests pour voir ce qu'il se passe : `mvn test`. -- GitLab