API Keys
Manage your Midas Code API credentials.
How to use your API key
curl example
curl -X POST https://api.midascode.net/v1/generate \
-H "Authorization: Bearer midas_your_key_here" \
-H "Content-Type: application/json" \
-d '{"prompt": "Create a REST API in Node.js"}'Replace midas_your_key_here with your actual API key. Keep it secret -- do not commit it to version control.