Skip to content

Add Document

POST %%LIVEAPI_BASEURL_VAR%%/db/database/collection
{
  "document": null
}

This endpoint adds a new document to the specified collection. It validates the input data and stores the document in the database.

Jump To Definition


document.js#L38

Source: lib / routes / document.js

Branch: main

Repository: mongo-express