Handbook
Glossary
get-object ( bucket key -- response data )
Amazon S3
Prev:
keys ( bucket -- seq )
Next:
put-object ( data mime-type bucket key headers -- )
Vocabulary
s3
Inputs
bucket
a
string
key
a
string
Outputs
response
The HTTP response object
data
The data returned from the http request
Word description
Does an HTTP request to retrieve the object in the bucket with the given key.
Examples
USING: s3 ; "testbucket" "mykey" http-get
Definition
USING:
kernel
s3.private
sequences
;
IN:
s3
:
get-object
( bucket key -- response data )
"/"
prepend
H{
}
clone
s3-get
;