I currently have an arcpy script that selects stores that are open after the user inputs their date and time. I'm looking to embed the results on a website using leaflet. If I have the user input their date and time using an HTML form, how can I pass the results to my arcpy script?
A colleague and I presented this sample mabpox based application that calls on a Python Flask service (see the
flask_sample folder). This is a fairly simple example of a custom REST service from a WSGI service. You can run the server locally or for production it is recommended to deploy on IIS or Apache.