Search code examples
mysqlnode.jspostman

When I am entering the IP address in my Postman I am getting data in the Postman from my API?


When I am entering the IP address in my postman I am getting data in the postman from my API but it is not showing any messages in my VS code console like this "GET /newmealschedule?date=2018-10-23&id=468 200 9.100 ms - 65" earlier it was showing.

How can I fix this any help Please However data is updated in the Postman but no message is being shown?


Solution

  • You removed morgan. Require it again and put this at some point in the start of your code

        const app = express();
        app.use(morgan('dev'));
    

    Now that being said, welcome to stackoverflow. Be aware that SO is not a code on demand platform, and that you need to provide an explanation and code of what you have tried so far. I see that you have been quite active the last couple of days asking questions, but please try to resolve your problems before asking them on here. In your case, given the questions you've asked, look into express tutorials online. You seem to have bitten off more than you can chew on this project.