luwak/test/insert.http

25 lines
308 B
Plaintext
Raw Normal View History

2023-07-21 11:33:36 +08:00
### 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
}