Mentioned posting via GET in the docs
This commit is contained in:
+13
-1
@@ -68,7 +68,7 @@ Response: newline-separated list of msgid:base64_msgtext
|
||||
|
||||
where base64_msgtext is a Base64-encoded Node-to-Point Message (see below).
|
||||
|
||||
- Posting a message -
|
||||
- Posting a message (via POST) -
|
||||
|
||||
Request: POST /u/point
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
@@ -78,6 +78,18 @@ Response: in case of success, must start with "msg ok"
|
||||
where base64_msgtext is the Base64-encoded Point-to-Node Message (see below).
|
||||
The maximum length of the tmsg field must be 87382 bytes.
|
||||
|
||||
- Posting a message (via GET) -
|
||||
|
||||
Request: GET /u/point/auth_string/base64_msgtext
|
||||
Response: in case of success, must start with "msg ok"
|
||||
|
||||
where base64_msgtext is the Base64URL-encoded Point-to-Node Message.
|
||||
The maximum length of the tmsg field must be 87382 bytes.
|
||||
|
||||
Note: the Base64URL encoding means that after the standard base64 encoding,
|
||||
the + character is replaced with -, the / character is replaced with _, and
|
||||
the = character is omitted from the end.
|
||||
|
||||
Node-to-Point Message format
|
||||
----------------------------
|
||||
The encoding must be UTF-8 and the newline separator must be "\n" (ASCII 10).
|
||||
|
||||
Reference in New Issue
Block a user