I am trying to scrape the "Amenities and More" portion of the Yelp, and came across this very helpful answer that explains the best way to do it (BeautifulSoup web scraping for a webpage where information is obtained after clicking a button).
The problem is, I am unsure how the person who posted the answer (Martin Evans) knew that typing "GetBusinessAttributes" and "GetBizPageProperties" would tell Yelp to return the requested data. I used my network dev tools to check what data was being requested when I visited https://www.yelp.com/biz/ziggis-coffee-longmont, but found no mention of "GetBusinessAttributes" or "GetBizPageProperties".
Can someone explain how he knew that sending "GetBusinessAttributes" and "GetBizPageProperties" would return the desired data?