I expected the format for the request to be …{{CLUSTER-NAME}}/models/api/{{Route}} given that is the file hierarchy to my knowledge when I look in both Atlas AND Compass. Am I’m missing something in this REST request that I need to add? If there’s any more information you need please ask!
Santimir,
Thank you for your reply! The {{base_url}} is: https://cloud.mongodb.com, which is what was advised in the MongoDB documentation. The documentation for reading and writing with the Data API are related to Realms, while my REST API functionality is all external.
Could you clarify what you are attempting to perform here? I.e. Are you attempting to read or write data from the cluster?
Additionally, could you verify what documentation you are referring to here:
Thank you for your reply! The {{base_url}} is: https://cloud.mongodb.com, which is what was advised in the MongoDB documentation.
Based off your screenshot, it appears you are trying to perform read / writes to your cluster in which I recommend you take a look at the Data API documentation which has the following base url:
https://data.mongodb-api.com/app/<Data API App ID>/endpoint/data/beta