Efficient Network Intrusion Detection Using Random Forest and Lightweight REST API Deployment