Atlas App Services
2 results found
Please Support CORS from the Data API
It would be amazing if the Data API supported CORS (via some sort of authentication mechanism in addition to the API key).
As it stands right now, we'd have to write a proxy API to consume the Data API, which would take about the same amount of coding as creating webhooks on Atlas to modify the collections.110 votescompleted · AdminKaylee (Admin, MongoDB) responded
Hi! We are excited to announce that we now support client side access for Data API using Bearer Authentication. You can use the Data API to connect to MongoDB Atlas from any platform that supports HTTPS, including web browsers, and get around CORS errors. Check out our docs page here that goes over how to authenticate Data API requests for web browser access. If you would like to share any additional context on your use case or general feedback regarding this newly released feature, please feel free to email me at email@example.com.
Add REST API Services
Add REST Services support analogous the GraphQL.
Some users on Realm desire a REST API to their clients as
oppose to a GraphQL API.
Although this can somewhat be accomplished by adding a HTTP '3rd Party Service' and query the mongo collections, you don't get all Rules, Schema, and other useful tools and services which are provided with the GraphQL option.12 votescompleted · Sumedha Mehta responded
Check out the Atlas Data API https://www.mongodb.com/docs/atlas/api/data-api/
- Don't see your idea?