Backend :
https://github.com/junxian428/WebSocket_Java_Spring
Postman API call:
POST request for stock data:
http://localhost:8088/messages
{
"o": 3,
"c": 5,
"h": 14,
"l": 1
}
c - closing price
o - opening price
h - highest price
l -lowest price