mirror of
https://github.com/urbit/shrub.git
synced 2024-12-13 16:03:36 +03:00
15 lines
280 B
Plaintext
15 lines
280 B
Plaintext
::
|
|
:::: /hoon/curl/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))
|