Hi Juan,
I need to POST a JSON data request to the server. If I was doing it with curl, it would look like this:
curl -i -X POST -k -H "Accept: application/json" -H "Content-Type: application/json; charset=utf-8" https://sitehere.com/search/searching.json --data '{"searchString":"","address": {"latitude":55,"longitude":-3},"page":0}'
I then get a JSON return to parse. How can I do this with HS?
Thanks
How can I POST JSON data with helium scraper?
Re: How can I POST JSON data with helium scraper?
Take a look at the WebRequest method of the Utils object. You can find the documentation at Help -> Documentation and then Actions -> Actions List -> Execute JavaScript -> Class List -> UtilsObject.
Juan Soldi
The Helium Scraper Team
The Helium Scraper Team