Lokascale API Tester
This site is still under development
Configuration
Note:
No need to input any URL here, the base URL is already fixed.
Base URL:
Login
Note:
Just click login.
Email:
Password:
Login
Debug Console
Clear
[System]
API Tester initialized successfully
Start Weighing
POST
/api/weighing/initiate
Initiate new weighing session
Session Type:
rompes
product
Vegetable Type (for rompes):
kale
bayam merah
Initiate
POST
/api/iot/weight
Send weight data (Use session_id from initiated batch)
Weight Data (JSON):
Send
POST
/api/ml/identify-vegetable
Upload image for vegetable identification (Use session_id from initiated batch)
Image File:
Session ID:
Identify
POST
/api/weighing/complete
Complete weighing session (Use session_id from initiated batch)
Session ID:
Complete
Side Features
GET
/api/iot/active-session
Get active weighing session ID
Get Active Session
GET
/api/weighing/history
Get user weighing session history
Get History
GET
/api/weighing/{session_id}
Get specific weighing session by session ID
Session ID:
Get Session
Response
No response yet. Test an endpoint to see results here.