X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=devdoc%2Fapi.txt;h=e02b78dc8872a4c24762f7d2b8fdfe205339350b;hp=590964a2cbaf3f391a702918acee9ef5a870259f;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=3181694edcb311144c22078ab6d59112bcde612a diff --git a/devdoc/api.txt b/devdoc/api.txt index 590964a..e02b78d 100644 --- a/devdoc/api.txt +++ b/devdoc/api.txt @@ -11,9 +11,9 @@ Client submits a classic html form to server. **note**: In this documentation, php notation is used (`_POST` and `_FILES`), but server may be written in any language. -` _POST["password"]` may contains user password. If it is set, access is - checked. If it is not set, authentification cookie is checked. If neither are - present, or if one of them is wrong, access is denied. +` _POST["password"]` and `_POST["user"] may contain user name and password. If + they are set, access is checked. If they is not set, cookies are checked. If + neither are present. `_POST["request"]` is either: @@ -74,8 +74,8 @@ as _text/html_ ## success handling: - * ``: - authentication was successfull + * `?user_name?`: + authentication was successfull. ?user_name? is name of authenticated user. * `