shrub/gen/curl.hoon
2016-10-21 16:44:39 -07:00

13 lines
210 B
Plaintext

:: Fetch contents at url
::
:::: /hoon/curl/gen
::
/? 310
/- sole
[sole]
:- %get |= {^ {a/tape $~} $~}
^- (sole-request (cask httr))
%+ sole-at (scan a auri:epur)
|= hit/httr
(sole-so %httr hit)