mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 02:22:12 +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))
|