From 4e982385075535b5d1219c8343f5104a69ab1be8 Mon Sep 17 00:00:00 2001 From: scorpiotzh <835598264@qq.com> Date: Mon, 22 Jul 2024 16:43:52 +0800 Subject: [PATCH] feat: update api --- API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index 30fdd27..cba05a3 100644 --- a/API.md +++ b/API.md @@ -834,13 +834,13 @@ curl -X POST https://indexer-v1.did.id -d'{"jsonrpc": "2.0","id": 1,"method": "d **Usage** ```shell -curl -X POST https://indexer-v1.did.id/v1/did/number +curl -X POST https://indexer-v1.did.id/v1/did/number -d'{}' ``` or json rpc style: ```shell -curl -X POST https://indexer-v1.did.id -d'{"jsonrpc": "2.0","id": 1,"method": "das_didNumber","params": []}' +curl -X POST https://indexer-v1.did.id -d'{"jsonrpc": "2.0","id": 1,"method": "das_didNumber","params": [{}]}' ```