mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 10:49:26 +03:00
18 lines
345 B
Plaintext
18 lines
345 B
Plaintext
:: Make HTTP request(get only)
|
|
::
|
|
:::: /hoon/curl-hiss/gen
|
|
::
|
|
/? 310
|
|
/- sole
|
|
/+ old-zuse
|
|
=, old-zuse
|
|
=, 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))
|