Skip to content

Commit

Permalink
Update methods.md
Browse files Browse the repository at this point in the history
Corrected addarea RPC method name
  • Loading branch information
dadofsambonzuki authored Sep 30, 2024
1 parent fe459bd commit 39f3d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin-api/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ curl --data-binary '{"jsonrpc": "2.0", "method": "addelementcomment", "params":
- tags

```bash
curl --data-binary '{"jsonrpc": "2.0", "method": "createarea", "params": {"token": "xxx", "tags": {"url_alias": "test-area", "geo_json": {"type":"Point","coordinates":[0,0]}}}, "id": 1}' https://api.btcmap.org/rpc
curl --data-binary '{"jsonrpc": "2.0", "method": "addarea", "params": {"token": "xxx", "tags": {"url_alias": "test-area", "geo_json": {"type":"Point","coordinates":[0,0]}}}, "id": 1}' https://api.btcmap.org/rpc
```

## getarea
Expand Down

0 comments on commit 39f3d97

Please sign in to comment.