Array-contains query not working react native

Hello i’m implementing the array-contain query but everytime i’m trying i’m Getting blank snapshot. My code is: getStation = () => { const query = firebase .firestore() .collection(‘routes’) .where(‘station’, ‘array-contains’, ‘station_name ‘); query.get().then(snapshot => { console.log(“snapshot”, snapshot); snapshot.docs.forEach(doc => { alert(“eri”) console.log(“eryh”, doc.data); }) }) .catch(err => { console.log(‘Error getting documents’, err); }); } I…

Details

Incomplete response for XHR request in python with requests.post()

I am trying to scrape German zip codes (PLZ) for a given street in a given city using Python’s requests on this server. I am trying to apply what I learned here. I want to return the PLZ of Schanzäckerstr. in Nürnberg. import requests url = https://www.postdirekt.de/plzserver/PlzAjaxServlet data = ‘plz_city=n%C3%BCrnberg&plz_plz=&plz_city_clear=&plz_district=&finda=plz&plz_street=Schanz%C3%A4ckerstr.+2&lang=de_DE’ headers = {“Host”: “www.postdirekt.de”, “User-Agent”:…

Details