Created
March 12, 2010 21:15
-
-
Save Htbaa/330807 to your computer and use it in GitHub Desktop.
rest.mod TStream example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SuperStrict | |
Import htbaapub.rest | |
Local request:TRESTRequest = New TRESTRequest | |
Local stream:TStream = WriteStream("Moose-0.99.tar.gz") | |
request.SetStream(stream) | |
Local response:TRESTResponse = request.Call("http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Moose-0.99.tar.gz", Null, "GET") | |
CloseStream(stream) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment