diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-12-16 10:50:44 +0100 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-07-05 15:48:33 +0200 |
commit | c45c7ea0fa38fda453c596bd3161c9362d689381 (patch) | |
tree | a91f63201dd6fe52ea55209eeb0b75499f9cdcfa /doc/REST-interface.md | |
parent | d0a10c1959176eb40c0ec47a56de00820c59066d (diff) |
[REST] add JSON support for /rest/headers/
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r-- | doc/REST-interface.md | 4 |
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` |