From a7c3688ae76ced61f32206e8367001ef1b0e0cb4 Mon Sep 17 00:00:00 2001 From: Trinh Dai Phuc <1653068@student.hcmus.edu.vn> Date: Sun, 8 Mar 2020 12:24:31 +0700 Subject: [PATCH] Update gitignore file --- .gitignore | 3 ++- rest.http | 28 ---------------------------- 2 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 rest.http diff --git a/.gitignore b/.gitignore index d1997a91..ef6fda9f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ *.pb* *.env -bin/ \ No newline at end of file +bin/ +*.http \ No newline at end of file diff --git a/rest.http b/rest.http deleted file mode 100644 index 7d4e66c8..00000000 --- a/rest.http +++ /dev/null @@ -1,28 +0,0 @@ -### List entities -GET http://localhost:8080/entities - -### Create entities -POST http://localhost:8080/entities -Content-Type: application/json - -{ - "name":"Phuc qua dep trai", - "description":"Qua dep trai", - "url":"phucdeptrai.com.vn" -} - -### Read entity -GET http://localhost:8080/entities/5d12ebf18b61eb310189281f - -### Update entity -POST http://localhost:8080/entities -Content-Type: application/json - -{ - "name":"Phuc qua dep trai", - "description":"Kha la banh", - "url":"phucdeptrai.com.vn" -} - -### Delete entity -DELETE http://localhost:8080/entities/5d12ebf18b61eb310189281f \ No newline at end of file