Skip to content

Commit 459ebf3

Browse files
authored
Merge branch 'main' into main
2 parents 7abed2d + 99bccdd commit 459ebf3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ module.exports = {
201201
<div>
202202
<a class="footer__link-item" href="/about">About</a>
203203
<span class="footer__separators"> | </span>
204-
<a class="footer__link-item" href="/security">Security</a>
204+
<a class="footer__link-item" href="https://keploy.io/docs/security/">Security</a>
205205
<span class="footer__separators"> | </span>
206206
<a class="footer__link-item" href="/privacy-policy">Privacy Policy</a>
207207
</div>

src/pages/privacy-policy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function PrivacyPolicy() {
130130
unauthorized access, use, alteration, and disclosure. For more
131131
information on our security practices please refer to:{" "}
132132
<a href="https://keploy.io/docs/security" style={{color: "#FF914D"}}>
133-
keploy.io/security.
133+
keploy.io/docs/security.
134134
</a>
135135
{""}
136136
</p>

versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,25 +80,25 @@ To generate testcases we just need to **make some API calls.**
8080
1. **Make a POST request:**
8181

8282
```bash
83-
curl -X POST -H "Content-Type: application/json" -d '{"title":"Task 1","description":"Important task"}' http://localhost:5000/api/tasks
83+
curl -X POST -H "Content-Type: application/json" -d '{"student_id": "12345", "name": "John Doe", "age": 20}' http://localhost:6000/students
8484
```
8585

8686
2. **Make a GET request:**
8787

8888
```bash
89-
curl http://localhost:5000/api/tasks
89+
curl http://localhost:6000/students
9090
```
9191

9292
3. **Make a PUT request:**
9393

9494
```bash
95-
curl -X PUT -H "Content-Type: application/json" -d '{"title":"Task 1","description":"Random task"}' http://localhost:5000/api/tasks/12345
95+
curl -X PUT -H "Content-Type: application/json" -d '{"name": "Jane Smith", "age": 21}' http://localhost:6000/students/12345
9696
```
9797

9898
4. **Make a DELETE request:**
9999

100100
```bash
101-
curl -X DELETE http://localhost:5000/api/tasks/12345
101+
curl -X DELETE http://localhost:6000/students/12345
102102
```
103103

104104
And once you are done, you can stop the recording and give yourself a pat on the back! With that simple spell, you've conjured up a test case with a mock! Explore the **keploy** directory and you'll discover your handiwork in `tests` directory and `mocks.yml`.

0 commit comments

Comments
 (0)