Handbook
Glossary
bitcoin-request ( method params -- request )
Vocabulary
bitcoin
.
client
.
private
Inputs
method
an
object
params
an
object
Outputs
request
an
object
Definition
USING:
accessors
assocs
http
http.client
json
kernel
sequences
strings
;
IN:
bitcoin.client.private
:
bitcoin-request
( method params -- request )
payload
bitcoin-url
<post-request>
basic-auth
"Authorization"
set-header
dup
post-data>>
data>>
length
"Content-Length"
set-header
http-request
nip
>string
json>
"result"
of
;