Difference between REST API and WebSocket API

The core of modern web and financial applications lies in how they exchange data. While there are many protocols available, REST (Representational State Transfe