Click here to Skip to main content
15,867,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi guys,
I am working with nodejs on godaddy hosting. I am using putty to install npm, nodejs on godaddy . Now in my nodejs application, when i run node server.js. It can listen. But i dont know how to use app.get('/getData'). How can i config the route ?

Thanks.

What I have tried:

firstly it is listening http://0.0.0.0:1234/.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900