We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50472ca commit 03a04b7Copy full SHA for 03a04b7
README.md
@@ -8,3 +8,19 @@
8
<h2>Build</h2>
9
<code>cd mysql-basic-functionalities<br></code><br>
10
<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
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
23
24
+<h3>Get random quote</h3>
25
+<code>curl localhost:8080/access/randomQuote</code><br>
26
0 commit comments