tanszek:oktatas:iss_t:json-rpc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tanszek:oktatas:iss_t:json-rpc [2026/03/01 17:26] – [JSON-RPC 2.0 Message Structure] knehez | tanszek:oktatas:iss_t:json-rpc [2026/03/01 17:27] (current) – [JSON-RPC Client (Python)] knehez | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| A JSON-RPC request is a JSON object with the following fields: | A JSON-RPC request is a JSON object with the following fields: | ||
| - | * jsonrpc – must be " | + | |
| - | * method – name of the remote method | + | |
| - | * params – parameters (optional) | + | |
| - | * id – request identifier (used to match response) | + | |
| Example request: | Example request: | ||
| Line 157: | Line 157: | ||
| import requests import json | import requests import json | ||
| - | url = " | + | url = " |
| - | " | + | |
| payload = { | payload = { | ||
| - | " | + | |
| - | " | + | " |
| - | " | + | " |
| - | " | + | " |
| } | } | ||
tanszek/oktatas/iss_t/json-rpc.1772386007.txt.gz · Last modified: 2026/03/01 17:26 by knehez
