mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
579efd9972
* removes old-zuse
18 lines
353 B
Plaintext
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))
|