完善文档
This commit is contained in:
parent
9c10ccbfe0
commit
b36fe3aca6
@ -23,10 +23,13 @@ CREATE TABLE `endpoint` (
|
|||||||
### config_json中的数据配置
|
### config_json中的数据配置
|
||||||
|
|
||||||
#### http方式: type=http
|
#### http方式: type=http
|
||||||
|
token是可选的,如果接收服务器端需要提供校验;可以添加token字段,校验算法采用的: $Sign = sha256(token + "post_body" + token), 有token的情况下
|
||||||
|
通过http推送的数据会增加一个header, 格式为 X-Signature: $Sign
|
||||||
```json
|
```json
|
||||||
|
|
||||||
{
|
{
|
||||||
"url": "http(s)://www.test.com/api",
|
"url": "http(s)://www.test.com/api",
|
||||||
|
"token": "ngyehngcohezqyabnlhollsfcnyqobmwfcfyvbzdbhuubucojcpeefpczruiccfw",
|
||||||
"pool_size": 10
|
"pool_size": 10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user