1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

docs: Edit README

This commit is contained in:
Sayantan Santra 2024-04-01 13:43:03 -05:00
parent 7ad874a1ff
commit f27984a63f
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -131,8 +131,8 @@ a password, first do the following to get an authentication cookie and store it
```bash ```bash
curl -X post -d "<your-password>" -c cookie.txt http://localhost:4567/api/login curl -X post -d "<your-password>" -c cookie.txt http://localhost:4567/api/login
``` ```
You should receive "Correct password!" in case the provided password was correct. For any other You should receive "Correct password!" if the provided password was correct. For any subsequent
request, please add `-b cookie.txt` to use this authentication cookie. request, please add `-b cookie.txt` to provide authentication.
To add a link, do To add a link, do
```bash ```bash