billchurch / webssh2

Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2
MIT License
2.36k stars 536 forks source link

Example of a post request #333

Closed ErtyDess closed 1 year ago

ErtyDess commented 1 year ago

Hello, please somone can show me an example of sending a post request to webssh2 with username e userpassword in the body and then opening the terminal in a new chrome tab?

i do it from react where i have a button that make a post call to webssh2, i would like to see how to format the body object and how to take the response and open the tab with terminal

billchurch commented 1 year ago

it's not supported today #247 is meant to address this use case in the future