Skip to content Skip to sidebar Skip to footer

Why The Get Request In Flask Is Called Twice?

Consider this simple hello world flask example. from flask import Flask app = Flask(__name__) @app.route('/inst') def index(): print('Hello World!') return 'Hello World!'

Solution 1:

So the reason why my request was getting fired twice was because of some extension installed in chrome. I removed a couple of my extensions and it works fine. The credit for pointing out this goes to @n1rna. Thanks.


Post a Comment for "Why The Get Request In Flask Is Called Twice?"