From 4dcc256c284fbd7454c8a93ea994380cf00d19ea Mon Sep 17 00:00:00 2001 From: w1ndyb0y Date: Wed, 16 Sep 2020 11:02:55 +0800 Subject: [PATCH] update json --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7f9e0d5..6669a54 100644 --- a/README.md +++ b/README.md @@ -6,24 +6,26 @@ * context: /send ```json { - "url":"http://domain.tld", //optional old ciims server + "url":"http://domain.tld", "user":"ciims username", "pass":"ciims password", "event":"route event id", - "priority":0, //optional - "val": false, //optional + "priority":0, + "val": false, "msg":"ciims xml message body" } ``` +### url, priority, val is optional ## receive * context: / ```json { - "url":"http://domain.tld", //optional old ciims server + "url":"http://domain.tld", "user":"ciims username", "pass":"ciims password", "count": 3 } -``` \ No newline at end of file +``` +### url is optional \ No newline at end of file