urbit/gen/curl-hiss.hoon
2016-11-16 17:37:39 -08:00

16 lines
319 B
Plaintext

:: Make HTTP request(get only)
::
:::: /hoon/curl-hiss/gen
::
/? 310
/- sole
=, sole
:- %get |= {^ {a/hiss $~} usr/iden}
^- (sole-request (cask httr))
?. ?=($get p.q.a)
~| %only-get-requests-supported-in-generators :: XX enforced?
!!
:- *tang
:^ %| `usr `hiss`a
|=(hit/httr (sole-so %httr hit))