Network functions

Functions for calling external APIs and sites.

Get­Remo­te­Ip
Use this to get the user's IP address from the current request.
Down­load­Fro­mUr­l(url)
Downloads text from specified URL.
Down­load­Fro­mUrl6­4(url)
Downloads text from specified URL and BASE64 encodes it.
Http­Get(url, headers)
Calls specified web service and expects JSON. Parses JSON to object.
Http­Pos­t(url, data, headers)
Calls specified web service and expects JSON. Parses JSON to object.
Http­Form­P­os­t(url, data, headers)
Same as HttpPost but with values posted in a form setup.