feat: add simple API tests
This commit is contained in:
parent
5b36c46a2c
commit
9aea1a398a
7
src/main/resources/http/create.http
Normal file
7
src/main/resources/http/create.http
Normal file
@ -0,0 +1,7 @@
|
||||
POST http://localhost:8080/demo
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"name": "hello kotlin",
|
||||
"age": 20
|
||||
}
|
||||
2
src/main/resources/http/datasource.http
Normal file
2
src/main/resources/http/datasource.http
Normal file
@ -0,0 +1,2 @@
|
||||
GET http://localhost:8080/dataSource
|
||||
Content-Type: application/json
|
||||
2
src/main/resources/http/findAll.http
Normal file
2
src/main/resources/http/findAll.http
Normal file
@ -0,0 +1,2 @@
|
||||
GET http://localhost:8080/demo
|
||||
Content-Type: application/json
|
||||
2
src/main/resources/http/findById.http
Normal file
2
src/main/resources/http/findById.http
Normal file
@ -0,0 +1,2 @@
|
||||
GET http://localhost:8080/demo/1
|
||||
Content-Type: application/json
|
||||
Loading…
x
Reference in New Issue
Block a user