shrub/mar/bit/get-token.hoon

22 lines
420 B
Plaintext
Raw Normal View History

2015-05-29 02:07:03 +03:00
::
2015-06-05 03:27:01 +03:00
:::: /hoon/bit-get-token/mar
2015-05-29 02:07:03 +03:00
::
/? 314
/- bit-api
2015-05-29 02:07:03 +03:00
/+ http
[bit-api .]
2015-05-29 02:07:03 +03:00
|_ req=bit-get-token
::
++ grow
|% ++ httpreq
2015-09-02 01:20:17 +03:00
^- request:http
2015-05-30 01:05:47 +03:00
=- [/com/coinbase/sandbox /oauth/token [%post ~] ~ `quay`-]
2015-05-29 02:07:03 +03:00
:~ ['grant_type' 'authorization_code']
['code' oat.req]
['redirect_uri' (crip (earn red.req))]
['client_id' cid.req]
['client_secret' sec.req]
==
--
--