25 lines
308 B
Plaintext
25 lines
308 B
Plaintext
|
### Request1
|
||
|
POST http://localhost:8080/test
|
||
|
Content-Type: application/json
|
||
|
|
||
|
[
|
||
|
{
|
||
|
"sql": "INSERT INTO user (name, age) VALUES (?, ?)",
|
||
|
"params": [
|
||
|
"John",
|
||
|
30
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
|
||
|
|
||
|
|
||
|
### Request2
|
||
|
POST http://localhost:8080/insert/user
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"name": "John",
|
||
|
"age": 30
|
||
|
}
|