diff --git a/.gitignore b/.gitignore index 03edb8e..6028ebe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -Request_Test \ No newline at end of file +Request_Test +Request_Test/testHTTP.http \ No newline at end of file diff --git a/Request_Test/testHTTP.http b/Request_Test/testHTTP.http index ab8b582..4f99b02 100644 --- a/Request_Test/testHTTP.http +++ b/Request_Test/testHTTP.http @@ -30,11 +30,25 @@ Accept: application/json ### -# PUT /api/rdv with body in x-www-form-urlencoded PUT http://serveur-projet-s4.felix/src/API/requests.php/api/rdv Content-Type: application/x-www-form-urlencoded -rdv-id=64553&patient-id=1 -ACCEPT: application/json +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" + +### -### \ No newline at end of file