Refine the search REST ressource.
[Project_proches_de_moi-server.git] / tests / curl.txt
index c597b4d83956604d842d95200f2d00d55e3b4f24..821b938e69aea725f6a476ebf28c1c300fa86d92 100644 (file)
@@ -17,6 +17,9 @@ curl --request POST http://localhost:8000/api/person/1/localisation --data "{ \"
 curl --request PUT http://localhost:8000/api/person/1/online
 curl --request PUT http://localhost:8000/api/person/1/offline
 
+* Search a user with a keyword set to isabelle:
+curl --request GET http://localhost:8000/api/person/search?keyword=isabelle
+
 * Show a user with id 1:
 curl --request GET http://localhost:8000/api/person/1