I am trying to create a UDF usign the PasteBin API >> http://pastebin.com/api.php but the example below doesn't seem to be returning the URL. If someone knows what the problem is this would be very much appreciated. Thanks. This is what I have so far... #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 #include "WinHttp.au3" Opt("MustDeclareVars", 1) ; Initialize and get session handle Global $hOpen = _WinHttpOpen() ; Get connection handle Global $hConnect = _WinHtt