In order to use GrabzIt from behind a proxy you must specify your proxy connection settings. To make this even simpler we have made a wizard below. Just enter the proxy details in the form below and then press the Generate button to create the proxy address. If you want to create captures from a proxy server in another part of the world then you need to follow these instructions instead.
Once you have generated the proxy address above, an example of using a local proxy will appear for every programming language we currently support with local proxies, below. The JavaScript API will not be effected because all of its requests will go via the browser.
//The client should be stored somewhere and reused! GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret", client); grabzIt.SetLocalProxy(""); grabzIt.URLToImage("http://www.spacex.com"); await grabzIt.SaveAsync("http://www.example.com/Home/Handler");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); grabzIt.SetLocalProxy(""); grabzIt.URLToImage("http://www.spacex.com"); grabzIt.Save("http://www.example.com/handler");
var grabzit = require('grabzit'); var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret"); client.set_local_proxy(""); client.url_to_image("http://www.spacex.com"); client.save("http://www.example.com/handler", function (error, id){ if (error != null){ throw error; } });
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); $grabzIt->SetLocalProxy(""); $grabzIt->URLToImage("http://www.spacex.com"); $grabzIt->Save("http://www.example.com/handler.php");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret") grabzIt.SetLocalProxy("") grabzIt.URLToImage("http://www.spacex.com") grabzIt.Save("http://www.example.com/handler.py")
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret") grabzIt.set_local_proxy("") grabzIt.url_to_image("http://www.spacex.com") grabzItClient.save("http://www.example.com/handler/index")