Skip to content
Snippets Groups Projects
Commit a52f8510 authored by Yvan Peter's avatar Yvan Peter
Browse files

Amélioration tableau

parent 7a85da51
No related branches found
No related tags found
No related merge requests found
...@@ -115,18 +115,15 @@ Dans la mesure où nous allons maintenant avoir des tests, ce développement se ...@@ -115,18 +115,15 @@ 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 ## Définition de l'API pour notre gestion des tâches
| URI | Méthode | MIME | Réponse | | URI | Méthode | MIME | Requête | Réponse |
|--------------|---------|-----------------------------------|-------------------| |--------------------------|---------|-------------------------------------------------------|---------|----------------------|
| /taches | GET | application/json | liste des tâches | | /taches | GET | application/json<br>application/xml | | liste des tâches |
| | | application/xml | | | /taches | POST | application/json<br>application/x-www-form-urlencoded | tâche | |
| --- | | | | | /taches/{id} | GET | application/json<br>application/xml | | la tâche |
| /taches | POST | application/json | | | /taches/{id} | PUT | application/json | tâche | la nouvelle tâche |
| | | application/x-www-form-urlencoded | la tâche crée | | /taches/{id} | DELETE | | | 204 No Content |
| --- | | | | | /taches/{id}/description | GET | text/plain | | chaîne de caractères |
| /taches/{id} | GET | application/json | la tâche |
| --- | | | |
| /taches/{id} | PUT | application/json | la nouvelle tâche |
| | | | |
## Récupérer une tâche ## Récupérer une tâche
Nous pouvons déjà lancer les tests pour voir ce qu'il se passe : `mvn test`. Nous pouvons déjà lancer les tests pour voir ce qu'il se passe : `mvn test`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment