urbit/gen/curl-hiss.hoon
rmariani 579efd9972
Remove old-zuse (#867)
* removes old-zuse
2018-10-26 16:19:18 -07:00

18 lines
353 B
Plaintext

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