Skip to content

Commit

Permalink
Merge branch 'api' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpiotzh committed Jul 22, 2024
2 parents 1ce675e + 4e98238 commit 262f78b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": [{}]}'
```


Expand Down

0 comments on commit 262f78b

Please sign in to comment.