Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • k - user session ID;
  • id - the notification identifierж if there is no identifier, a new notification is created, otherwise the existing one is edited;
  • name - the name of the notification, the length is not more than 63 characters;
  • type - type of message, required only when creating a new one, "http request";
  • login - user login;
  • password - the password of the user;
  • to - number of the recipient;
  • message - message text template, the length is not more than 1023 characters;
  • newline - newline separator: "linux" for %0A coding, "win" for %0D%0A coding;
  • request_type - the type of the request GET, POST, DELETE, PUT;
  • server - the path to the server to which the request is addressed;
  • head - the header of the message, determines the type of content;
  • data - the query data.

...

  • k - user session ID;
  • type - the type of the message, "http request";
  • login - user login;
  • password - the password of the user;
  • to - number of the recipient;
  • message - message text template, the length is not more than 1023 characters;
  • newline - newline separator: "linux" for %0A coding, "win" for %0D%0A coding;
  • request_type - the type of the request GET, POST, DELETE, PUT;
  • server - the path to the server to which the request is addressed;
  • head - the header of the message, determines the type of content;
  • data - the query data.

The response to this request contains the server answer in the field status:

<error type="no error" status="HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Tue, 28 Jan 2020 08:06:02 GMT
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Expires: -1
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

&lt;error type=&quot;authorization error&quot; /&gt;" />