Is it possible to use HTTP POST method with ImportHtml function? It seems to be doing only GET method.
I need POST to retrieve results from a web page that are normally (for “human user”) shown after filling simple form. And that form is then POSTed. I would like to simulate this with ImportHtml to get the results. (Yes, I already asked web page administrator to release the data in XML format or something like that but I would not count on this being done…)
You can use Google Apps Script’s UrlFetch to post data and use the results in a spreadsheet. See https://developers.google.com/apps-script/class_urlfetchapp
Use Xml.parse to parse it (use the lenient option to get html). Here’s the doc and a relevant post from the old forum.