MongoDB TutorialLesson 24Free preview
MongoDB Data API
This lesson is part of MongoDB · All levels
Summary
This lesson explains the MongoDB Atlas Data API, which is how to run MongoDB operations through a standard HTTPS endpoint without opening a driver connection. You just send an HTTP POST request containing a command like find or aggregate to the configured API URL. This approach makes it easy to integrate from environments that don't support MongoDB drivers.
Key points
- The data API exposes MongoDB operations as an HTTPS endpoint
- Requests using HTTP POST with JSON body containing actions and arguments
- Authentication using the API key through the Authorization header
- Suitable for serverless and driverless language integrations
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.