Skip to content Skip to sidebar Skip to footer

Windows 10 Iis Url Error - Python Flask Rest Api

This is my sample python rest API application. I have hosted this application on Windows 10 IIS. hello.py from flask import Flask app=Flask(__name__) @app.route('/',methods=['GET'

Solution 1:

You need to modify the resourceType:

<handlers><addname="FlaskFastCGI"path="*"verb="*"modules="FastCgiModule"scriptProcessor="C:\Python27\python.exe|C:\Python27\lib\site-packages\wfastcgi.pyc"resourceType="Unspecified"requireAccess="Script" /></handlers>

You need to modify the value of resourceType to Unspecified.

Post a Comment for "Windows 10 Iis Url Error - Python Flask Rest Api"