2024-06-21

This commit is contained in:
2024-06-21 14:14:35 +09:00
parent 955bf1c64c
commit 8480fa7c8f
32 changed files with 2258 additions and 19 deletions

View File

@@ -0,0 +1,41 @@
# JSON-RPC
## 요청
```json
{
"jsonrpc": "2.0",
"method": "doSomething",
"params": {
...
},
"id": ...
}
```
## 응답
```json
{
"jsonrpc": "2.0",
"result" : {
...
},
"id": xxx
}
```
### 오류 응답
```json
{
"jsonrpc": "2.0",
"error" : {
"code": xx,
"message": "xxx"
},
"id": xxx
}
```
https://www.jsonrpc.org/