shrub/gen/curl-hiss.hoon

16 lines
319 B
Plaintext
Raw Normal View History

2016-10-22 02:44:39 +03:00
:: Make HTTP request(get only)
2016-03-09 05:00:07 +03:00
::
2016-04-08 05:16:04 +03:00
:::: /hoon/curl-hiss/gen
2016-03-09 05:00:07 +03:00
::
/? 310
/- sole
2016-11-17 04:37:39 +03:00
=, sole
:- %get |= {^ {a/hiss $~} usr/iden}
2016-03-09 05:00:07 +03:00
^- (sole-request (cask httr))
?. ?=($get p.q.a)
~| %only-get-requests-supported-in-generators :: XX enforced?
!!
:- *tang
:^ %| `usr `hiss`a
2016-03-09 05:00:07 +03:00
|=(hit/httr (sole-so %httr hit))