Hyperledger rest api ID 字段值
Hyperledger rest api ID field value
Hyperledger rest API,payload 的"ID" 字段有什么用?它是跟踪其余调用的相关字段吗?
"id":60
{"jsonrpc":"2.0","result":{"status":"OK","message":"100"},"id":60}
是的,你是对的id
字段是一个相关字段,用于跟踪其余调用。
如此处所述,
http://www.jsonrpc.org/specification#parameter_structures
id
This member is REQUIRED.
It MUST be the same as the value of the id
member in the Request Object.
If there was an error in detecting the
id in the Request object (e.g. Parse error/Invalid Request), it MUST
be Null.
Hyperledger rest API,payload 的"ID" 字段有什么用?它是跟踪其余调用的相关字段吗?
"id":60
{"jsonrpc":"2.0","result":{"status":"OK","message":"100"},"id":60}
是的,你是对的id
字段是一个相关字段,用于跟踪其余调用。
如此处所述, http://www.jsonrpc.org/specification#parameter_structures
id
This member is REQUIRED.
It MUST be the same as the value of the id member in the Request Object.
If there was an error in detecting the id in the Request object (e.g. Parse error/Invalid Request), it MUST be Null.