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