title: Request using POST method returns a none value
body: <p>I am trying to get APScheduler to return the list of jobs but it always returns a none value.</p>
  <p>main.py:</p>
  <pre><code>def test():
      print(&quot;test&quot;)
  
  
  app = Flask(__name__)
  scheduler.add_job(func=test, trigger='cron', hour='11', minute= '36')
  scheduler.start() 
  
  @app.route('/viewjobs', methods=['POST'])
  def view():
      if request.method == 'POST':
              
          string = str(scheduler.print_jobs())                   
          return(string)
  
  if __name == '__main__':
      app.run()
  
  </code></pre>
  <p>Now when i send a POST request using curl i get None.
  what am i doing wrong?</p>