urbit/base/mar/bit-get-token/door.hook

20 lines
385 B
Plaintext
Raw Normal View History

2015-05-29 02:07:03 +03:00
::
:::: /hook/door/bit-get-token/mar
::
/? 314
/- *bit-api
/+ http
|_ req=bit-get-token
::
++ grow
|% ++ httpreq
=- [/com/coinbase /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]
==
--
--