mirror of
https://github.com/BreizhHardware/ProjetS4COMWEB.git
synced 2026-01-18 16:47:35 +01:00
51 lines
1.1 KiB
HTTP
51 lines
1.1 KiB
HTTP
GET http://ajax.yanisrff/src/API/requests.php/api/rdv-praticient?id=1
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
POST http://serveur-projet-s4.felix/src/API/requests.php/api/requests
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
test = "coucou"
|
|
|
|
###
|
|
|
|
POST http://serveur-projet-s4.felix/src/API/requests.php/api/login/patient
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
mail = nicolasgrenier@example.com &
|
|
password = a
|
|
|
|
###
|
|
|
|
POST http://serveur-projet-s4.felix/src/API/requests.php/api/login/medecin
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
mail = cberger@example.org &
|
|
password = a
|
|
|
|
###
|
|
|
|
PUT http://serveur-projet-s4.felix/src/API/requests.php/api/signup/patient
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
mail = felix.marquet@isen-ouest.yncrea.fr &
|
|
password = a &
|
|
name = Marquet &
|
|
surname = Félix &
|
|
phone = 0645383602
|
|
|
|
###
|
|
|
|
PUT http://serveur-projet-s4.felix/src/API/requests.php/api/signup/medecin
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
mail = felix.marquet@isen-ouest.yncrea.fr &
|
|
password = a &
|
|
name = Marquet &
|
|
surname = Félix &
|
|
phone = 0645383602 &
|
|
specialite = Test &
|
|
postal = 44470
|
|
|
|
### |