Getting Started 🛠️
1. Create a Project
2. Your First Request
Example: Storing a Product
fetch('https://api.ub.bitbros.in/api/data/products', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_SECRET_KEY' // Use secret key for write operations
},
body: JSON.stringify({
name: "Cyber Node Logo",
category: "Graphics",
premium: true
})
})
.then(res => res.json())
.then(data => console.log("Product saved:", data));3. Define Your Models (Recommended)
4. Environment Setup
Last updated
