diff --git a/README.md b/README.md index e3f1e50d0ef104feb504e982a52ac45ba68388e4..42b86d1de72c6fdd39de548fe83e632be281e1ec 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 | | | |