Hello,
I have to get logged on/off (get authenticated) against a Web werver, parse some html page (get) and send back some data (post) in order to interact with it. In other words, I have to programmatically interact with the Web server as a user would do it with the user interface.What kind of libraries could be used? Are there snippets available in order to speed up the learning curve?
Added : pages are dynamically generated (javascript)
Thank you
Nicolas
Interface with web server
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Interface with web server
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1
Re: Interface with web server
http://forums.livecode.com/viewtopic.php?p=83993#p83993 is probably a relevant thread for you. As for dynamically generated content via javascript, that will introduce more complexity. How you achieve the result will depend a lot on the nature of the site. It can be done, I think, but you will need to analyse what is being requested from the client side and what in the javascript can be bypassed with processing to make the request directly, or what json queries to catch the results from and then parse with a json library.