shrub/gen/curl-hiss.hoon

16 lines
317 B
Plaintext
Raw Normal View History

2016-10-22 02:44:39 +03:00
:: Make HTTP request(get only)
2016-03-09 05:00:07 +03:00
::
2016-04-08 05:16:04 +03:00
:::: /hoon/curl-hiss/gen
2016-03-09 05:00:07 +03:00
::
/? 310
/- sole
[sole]
:- %get |= {^ {a/hiss $~} usr/iden}
2016-03-09 05:00:07 +03:00
^- (sole-request (cask httr))
?. ?=($get p.q.a)
~| %only-get-requests-supported-in-generators :: XX enforced?
!!
:- *tang
:^ %| `usr `hiss`a
2016-03-09 05:00:07 +03:00
|=(hit/httr (sole-so %httr hit))