I set the Secure Proxy with a credential collection to store private keys (Use proxy + store sensitive (private) data in database).
So my database_id key is set in my credentials collection with the key name being mydb_Proxy and set the value for this key with the my database_id.
The idea is not to expose my database_ID in the client js code. ( I am using the Render all pages in one HTML file (jQuery Mobile multi-page template) )
Then I replaced the database_ID value in my database_settings with {mydb_Proxy}.
When I try to login I get the following error from the browser:
Failed to load resource: the server responded https://api.appery.io/rest/1/proxy/tu... a status of 400 (Bad Request)
{"code":"PTCT010","description":"Mandatory parameter 'appery-rest' is missing"}.
Any idea ?