aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-10 15:19:01 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-07-10 15:25:51 +0200
commit943b322d5d292707e193f3a9d8e971881540be23 (patch)
tree7ba9b78f96845005d27b10c2979c90b6fbef4a6a /doc/REST-interface.md
parent445220544e05d36a47f03d94181e00c52e65a4d6 (diff)
parentc45c7ea0fa38fda453c596bd3161c9362d689381 (diff)
Merge pull request #5486
c45c7ea [REST] add JSON support for /rest/headers/ (Jonas Schnelli)
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r--doc/REST-interface.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 2219ceb65f..1ba01362db 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -26,13 +26,11 @@ The HTTP request and response are both handled entirely in-memory, thus making m
With the /notxdetails/ option JSON response will only contain the transaction hash instead of the complete transaction details. The option only affects the JSON response.
####Blockheaders
-`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex>`
+`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>`
Given a block hash,
Returns <COUNT> amount of blockheaders in upward direction.
-JSON is not supported.
-
####Chaininfos
`GET /rest/chaininfo.json`