From ee3b469ed1a293d515e0430ed0e77863da45e9b8 Mon Sep 17 00:00:00 2001 From: Yvan Peter <yvan.peter@univ-lille.fr> Date: Sun, 14 Feb 2021 17:57:55 +0100 Subject: [PATCH] tableau --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e3f1e50..42b86d1 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,10 @@ Nous pouvons tout d'abord réfléchir à l'API REST que nous allons offrir pour | URI | Opération | MIME | Requête | Réponse | | :----------------------- | :---------- | :--------------------------------------------- | :-- | :---------------------------------------------------- | -| /ingredients | GET | <-application/json&<-application/xml | | 200 et liste des ingrédients (I2) | -| /ingredients/{id} | GET | <-application/json&<-application/xml | | 200 et un ingrédient (I2) ou 404 | +| /ingredients | GET | <-application/json<br><-application/xml | | 200 et liste des ingrédients (I2) | +| /ingredients/{id} | GET | <-application/json<br><-application/xml | | 200 et un ingrédient (I2) ou 404 | | /ingredients/{id}/name | GET | <-text/plain | | 200 et le nom de l'ingrédient ou 404 | -| /ingredients | POST | <-/->application/json& ->application/x-www-form-urlencoded | Ingrédient (I1) | Nouvel ingrédient (I2) | +| /ingredients | POST | <-/->application/json<br>->application/x-www-form-urlencoded | Ingrédient (I1) | Nouvel ingrédient (I2) | | | | | | 409 si l'ingrédient existe déjà (même nom) | | /ingredients/{id} | DELETE | | | | -- GitLab