Socket navigate

From UBot Studio
Revision as of 19:05, 28 October 2013 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This command is a Socket Command. This command allows you to download html and cookies from a URL or post data to a URL and download the resulting html and cookies.

The commands works within the container command.

Connection types:

GET: Allows the command to return cookies, html, and headers for the given URL.

POST: This setting allows the ability to post data on the webpage at the given URL.

Example


plugin command("SocketCommands.dll", "socket container") {
    plugin command("SocketCommands.dll", "socket navigate", "GET", "https://secure.imdb.com/register-imdb/form-v2?ref_=nv_usr_reg_2")
    load html($plugin function("SocketCommands.dll", "$socket page html"))
}


The command above will navigate to the given website and grab the page html for the given website to display in the main browser.

The command is returning information from the given URL, and so the connection type is set to GET.

Container.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox