Browse Source

Update 'README.md'

paologalli 4 years ago
parent
commit
fbbd77b80d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -10,14 +10,14 @@ The first line is always the name of the method and can be only `GET`, `POST` or
 
 ### GET
 The `GET` method is used to print all the logs that meet the required criteria.
-* The second line of the input is the kind of the log to search for (see below), and it is the only mandatory parameter.
-* The third line is the date: only logs whose date contains the searched for date are printed. The format for the date has not been decided yet, so currently any string can be inserted here.
+* The second line of the input is the type of log to search for (see below), and it is the only mandatory parameter.
+* The third line is the date: only logs whose date contains the searched date are printed.
 * The fourth line is a list of comma separated tags to search for.
 * The fifth line is the name of the user to search for.
 
 ### POST
 The `POST` method is used to add a log to the database.
-* The second line of the input is the kind (se below).
+* The second line of the input is the type (se below).
 * The third one is the date.
 * The fourth one is a list of comma separated tags.
 * The remainder of the file (until EOF is met) is the content of the log.
@@ -69,4 +69,4 @@ Authentication for read/write is based upon the access control list. To update A
     ["example-group"]
     auth=["priv-1","priv-2",...]
     ```
-    The adviable privileges are: `GET 150`, `GET Admin`, `POST 150`, `POST Admin` and `UPDATE`. You don't need to do run any command.
+    The available privileges are: `GET 150`, `GET Admin`, `POST 150`, `POST Admin` and `UPDATE`. No further action is needed after editing this file.