diff --git a/README.md b/README.md index a0c26d7..43810ba 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The server uses **RS384** signature algorithm (asymmetric). You have to create a openssl genrsa -out priv.pem 2048 openssl rsa -in priv.pem -outform PEM -pubout -out pub.pem ``` -**WARN**: those files must be readable be the server user +**WARN**: those files must be readable be the server user. ### INI file To start the server correctly, you need to create an `.ini` file as below: @@ -44,6 +44,10 @@ expiration_time = 2 # in hours ## Run ```bash ./simple-auth + +curl http://:/get/ -d '{"username":"", "password":""}' +# should returned +{"token":"
.."} ``` ## Test