mirror of
https://github.com/BreizhHardware/ProjetS4COMWEB.git
synced 2026-03-18 21:40:41 +01:00
93 lines
2.1 KiB
HTTP
93 lines
2.1 KiB
HTTP
GET http://serveur-projet-s4.felix/src/API/requests.php/api/search?type=Généraliste&location=35
|
|
Accept: application/json
|
|
|
|
###
|
|
GET http://serveur-projet-s4.felix/src/API/requests.php/api/search-postal?postal=44
|
|
Accept: application/json
|
|
|
|
###
|
|
GET http://serveur-projet-s4.felix/src/API/requests.php/api/search-type?type=Généraliste
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
GET http://serveur-projet-s4.felix/src/API/requests.php/api/rdv-available?id=1
|
|
Accept: application/json
|
|
|
|
###
|
|
GET http://serveur-projet-s4.felix/src/API/requests.php/api/rdv-date?date=2024-03-18&id=1
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
GET http://serveur-projet-s4.felix/src/API/requests.php/api/search?type=G%C3%A9n%C3%A9raliste&postal=35
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
GET http://serveur-projet-s4.felix/src/API/requests.php/api/praticien?id=1
|
|
Accept: application/json
|
|
|
|
###
|
|
|
|
PUT http://serveur-projet-s4.felix/src/API/requests.php/api/rdv
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
rdv_id = 46792 &
|
|
patient_id = 1
|
|
|
|
###
|
|
|
|
PUT 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/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
|
|
|
|
### |