Skip to content

Commit 03a04b7

Browse files
authored
Update README.md
1 parent 50472ca commit 03a04b7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,19 @@
88
<h2>Build</h2>
99
<code>cd mysql-basic-functionalities<br></code><br>
1010
<code>mvnw spring-boot:run<br></code>
11+
12+
<h2>Test cases</h2>
13+
<h3>Create new user</h3>
14+
<code>curl localhost:8080/access/newUser -d name=[name] -d email=[email] -d phone=[phone] -d DOB=[DOB] -d gender=[M/F]</code><br>
15+
<br>
16+
<h3>Get all users</h3>
17+
<code>curl localhost:8080/access/getAll</code><br>
18+
<br>
19+
<h3>Update user</h3>
20+
<code>curl localhost:8080/access/update/{id} -d {enter the parameters you want to update}</code><br>
21+
<h6>Eg. curl localhost:8080/access/update/1 -d gender=M email=abc@email.com</h6>
22+
<br>
23+
24+
<h3>Get random quote</h3>
25+
<code>curl localhost:8080/access/randomQuote</code><br>
26+
<br>

0 commit comments

Comments
 (0)