azure-sql-db-python-rest-api icon indicating copy to clipboard operation
azure-sql-db-python-rest-api copied to clipboard

does not work with apache wsgi server

Open savelov opened this issue 5 years ago • 3 comments

although the examples works as standalone, I could not use it with apache2 wsgi module (python3) - renaming app object to application. I had to switch to flask-restplus instead. probably issue is with parsers/ resources that should be initialized differently

savelov avatar May 02 '20 08:05 savelov

Thanks for the feedback. I have tried this only on my local machine with Python on Windows using the integrated HTTPS Server during development or on Azure using a Azure Web App running on a Linux Backend....I'm not an export on this, so if anyone can help to make sure the script will work also with Apache2 it will great

yorek avatar Aug 09 '20 03:08 yorek

I have uploaded the example rest api working over mssql connection on flask_restplus on https://github.com/savelov/restful_demo. It works with apache wsgi, and also I had to switch to freetds odbc as microsoft does not ship arm64 binary for mssql odbc client on linux

savelov avatar Feb 14 '21 15:02 savelov

Would be great if you could make the README a bit more helpful.You mentioned Apache2 before. For example, you could add more details on make your repository work with it. Also adding some more info to help a developer using your repo, understanding what the code will do and how that set up an local (or cloud?) environment to run it.

yorek avatar Feb 15 '21 02:02 yorek