Skip to main content
POST
/
insert
/
sql
Handler for SQL INSERT statements
curl --request POST \
  --url https://api.example.com/insert/sql \
  --header 'Content-Type: application/json' \
  --data '
{
  "sql": "<string>"
}
'

Body

application/json

SQL INSERT Request

sql
string
required

SQL INSERT statement Format: INSERT INTO app::collection (col1, col2) VALUES (val1, val2), (val3, val4) Example: "INSERT INTO myapp::users (name, email, age) VALUES ('Alice', 'alice@example.com', 25)"

Response

SQL INSERT executed successfully