mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 12:43:31 +03:00
ac98cf1075
sed -i'' -e '/^|/{x;/./{p;s/.*//;};x;};/ *\\/-.*\\*/{h;s/ //g;s/,[a-z]*//g;s/^[^a-z]*/[/;s/ *::.*$//;s/$/ .]/;s/*/ /g;x;s/\\*//g;}' urb/zod/**.{hoon,hook} Followed by manual fixes where e.g. the file didn't start with a core
21 lines
399 B
Plaintext
21 lines
399 B
Plaintext
::
|
|
:::: /hoon/bit-get-token/mar
|
|
::
|
|
/? 314
|
|
/- bit-api
|
|
/+ http
|
|
[bit-api .]
|
|
|_ req=bit-get-token
|
|
::
|
|
++ grow
|
|
|% ++ httpreq
|
|
=- [/com/coinbase/sandbox /oauth/token [%post ~] ~ `quay`-]
|
|
:~ ['grant_type' 'authorization_code']
|
|
['code' oat.req]
|
|
['redirect_uri' (crip (earn red.req))]
|
|
['client_id' cid.req]
|
|
['client_secret' sec.req]
|
|
==
|
|
--
|
|
--
|