From the course: Building RESTful APIs with Flask

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Restarting your server

Restarting your server

- [Instructor] As we edit the file in our project, naturally we'll be switching between PyCharm and Postman quite often. And in order to see your changes, you'd need to restart your server. That's actually pretty easy. I left my server running in the last video. Let's make a quick change to the text returned by our super_simple function. I'll come into Line 13, and I'll just add some text to the end. I'll say boo yah. I'll go ahead and hit Control S to save it, and I'll switch back over to Postman, and I'll click the send button, since it already has the super_simple URL in it already. And you'll note that we don't see the extra text here. That's because in order to see it, we really need to reload our server. I'll switch back over to PyCharm, and I'll show you that PyCharm has a very convenient way of restarting your server. Just come down to the Run window, and you'll see that there's a Restart button, located right above the Stop button. So I'll go ahead and click this, and I can…

Contents