Skip to content

Commit 17ef42d

Browse files
authored
Update README.md
updated
1 parent a445eda commit 17ef42d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,26 @@ After
3232
docker pull ghcr.io/rajeshm20/studentappbackend:latest
3333
```
3434
pulling the docker image and successfully running that includes StudentAppBackend app and mysql, try below endpoints using curl
35+
with http
3536

37+
SignUp
38+
```
39+
curl -k -X POST https://localhost:8080/auth/signup \
40+
-H "Content-Type: application/json" \
41+
-d '{"name":"SasvathRN", "email": "sasvathrn@rnss.com", "password":"password123"}'
42+
```
43+
44+
Login
45+
```
46+
curl -k -X POST https://localhost:8080/auth/login \
47+
-H "Content-Type: application/json" \
48+
-d '{
49+
"email": "rajesh@example.com",
50+
"password": "password123"
51+
}'
52+
```
53+
54+
with https
3655
Signup
3756
```bash
3857
curl https://localhost:8080/auth/signup \

0 commit comments

Comments
 (0)