socket.io-client making post request code example
Example: import socket io frontend
<script src="/socket.io/socket.io.js"></script><script> const socket = io('http://localhost');</script>
<script src="/socket.io/socket.io.js"></script><script> const socket = io('http://localhost');</script>