Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/start-chat.js Secret
Created Nov 11, 2019

Embed
What would you like to do?
// frontend/src/StartChat.js
post("http://localhost:8080/v1/authenticate", { sender: this.state.sender })
.then(res => res.authToken)
.then(this._connect);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.