Skip to content

Example for How to connect two node.js servers with web sockets with GET and POST requests.

Notifications You must be signed in to change notification settings

jmj4you/connect-2-node-servers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

#How to connect two node.js servers with web sockets? -> Two node server communication -> Manage GET request -> Manage GET with parameters -> Handling POST requests

Communicate two node server with POST and GET request methods

  1. clone repo
  2. cd port-1 and npm install
  3. cd port-2 and npm install
  4. start both node severs by ( node . )
  5. Open http://localhost:2001/simple
  6. Open http://localhost:2001/params
  7. Open http://localhost:2001/post with any REST client (eg: postman)

just watch how is happening....

Enjoy...

JMJ

About

Example for How to connect two node.js servers with web sockets with GET and POST requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published