shrub/gen/curl.hoon

15 lines
256 B
Plaintext
Raw Normal View History

2016-10-22 02:44:39 +03:00
:: Fetch contents at url
2016-02-05 05:57:44 +03:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/curl/gen
2016-02-05 05:57:44 +03:00
::
/? 310
/- sole
/+ generators, old-zuse
2017-11-10 03:06:58 +03:00
=, old-zuse
=, generators
2018-03-19 07:18:20 +03:00
:- %get |= {^ {a/tape ~} ~}
^- (sole-request:sole (cask httr))
%+ curl (scan a auri:urlp)
|= hit/httr
(produce %httr hit)