I have a web app that creates a JSON. Also I have a python app that reads in JSON. Right now I am only able to use console.log to see the JSON. This functions returns my JSON:
map.on('draw:created', function (e) {
var geojsonFeature = e.layer.toGeoJSON();
console.log(geojsonFeature);
How can I send this JSON to my Python app. Is Flask a good option to do that?