DEV Community

Discussion on: How to use mongodb in Node.js

Collapse
 
codingtomusic profile image
Tom Connors • Edited

I have no idea how to : Now send the post request to localhost:8000/add

My repo is here, I did the whole thing but not sure how to call it github.com/coding-to-music/express...

Collapse
 
readymadecode profile image
Chetan Rohilla • Edited

Please send the post request using any frontend library like react or angular. Else just use the postman and call the api localhost:8000/add with body parameters userName, userEmail. Its very easy please use with postman to just test it. postman.com/. If using localhost You have to download postman to your windows or mac machine.

Thanks :)