Comprehensive guide to using our framework's API for building modern applications.
Before making API requests, authenticate using your API key obtained from the dashboard.
Authorization: Bearer <YOUR_API_TOKEN>
Make a simple GET request to verify connectivity and authentication.
curl -X GET \
https://api.elenebelo.com/core/v1/status \
-H 'Authorization: Bearer <YOUR_API_TOKEN>'
fetch('https://api.elenebelo.com/core/v1/status', {
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data));
Replace YOUR_API_TOKEN with your actual token from the project dashboard.
POST /auth/token
{
"username": "string",
"password": "string"
}
GET /users/{id}
{
"id": "string",
"username": "string",
"email": "string",
"created_at": "datetime"
}
Subscribe to receive live updates for user data modifications.
const source = new EventSource('https://api.elenebelo.com/core/v1/events');
source.addEventListener('user:update', event => {
const data = JSON.parse(event.data);
console.log('User updated:', data);
});
Execute multiple operations in a single transaction.
POST /batch
Content-Type: application/json
[
{
"method": "POST",
"url": "/users",
"body": {
"username": "newuser",
"email": "email@example.com"
}
},
{
"method": "patch",
"url": "/users/1234",
"body": {
"status": "active"
}
}
]
Our API is actively maintained and accepts contributions from the open-source community.