diff --git a/Request_Test/testHTTP.http b/Request_Test/testHTTP.http index e4e1141..7ebcd87 100644 --- a/Request_Test/testHTTP.http +++ b/Request_Test/testHTTP.http @@ -1,93 +1,4 @@ -GET http://serveur-projet-s4.felix/src/API/requests.php/api/search?type=Généraliste&location=35 +GET http://ajax.yanisrff/src/API/requests.php/api/rdv-praticient?id=1 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 - ### \ No newline at end of file diff --git a/rdv-praticien.php b/rdv-praticien.php index e4b8885..b37ad36 100644 --- a/rdv-praticien.php +++ b/rdv-praticien.php @@ -1,48 +1,4 @@ - - -
- -' + $rdvPatient[i].rdv_date + '
' + + '' + $rdvPatient[i].rdv_time + '
' + + '