Last active
June 13, 2022 17:56
-
-
Save Lahirutech/b8ecfcca639cbc2d8dfe48dfb50d1823 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // newProfile function for post profile data | |
| const newProfile = (req, res, next) => { | |
| res.json({message: "Post new Profile"}); | |
| }; | |
| // newProfile function to get profile data | |
| const getProfile=(req,res,next)=>{ | |
| res.json({message: "get profile data"}); | |
| } | |
| module.exports = {newProfile,getProfile}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment