Skip to content

Commit d6e0f66

Browse files
authored
Merge pull request #5 from hack4impact-uiuc/readme-images-fix
fixed readme images
2 parents 234e128 + a82b337 commit d6e0f66

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ Starting the server will make it a continuously running process on `localhost:50
8383

8484
First, make a `GET` request to the `/` endpoint. Since the server is running on `localhost:5000`, the full endpoint url is `localhost:5000/`.
8585

86-
![Postman GET](https://lh4.googleusercontent.com/uDMU39OtDFBffWaIyQIufcmXxE3lrjKkrcduq8UdB6ZpOVhJo3rI6E4J_4NOziSKaX0X0Us0tKbzAg=w2880-h1598-rw)
86+
![Postman GET](docs/postman_get.png)
8787

8888
Try calling the `/mirror` endpoint. First, look at the code for the endpoint to see how you can specify url parameters. Then make a request on Postman to `localhost:5000/mirror/<name>`:
8989

90-
![Postman GET mirror](https://lh3.googleusercontent.com/C8ivPHRxDyzbCOO_h9eQkIO90JA0VWTYkd7ODKStIgPxtNhqC-l_4wPEVGfnmMbpU3tnEvsxABgdhg=w2880-h1598-rw)
90+
![Postman GET mirror](docs/postman_get_mirror.png)
9191

9292
# Exercises
9393
These exercises will walk you through creating a RESTful API using Flask! We don't want you to go through all the hassle of setting up a database instance, so we have created dummy data and a mock database interface to interact with it. For the sake of ease, the entire app logic minus the mockdb logic will by implemented in `app.py`. For larger projects, the API endpoints will usually be separated out into different files called `views`.
@@ -162,7 +162,7 @@ For this exercise, you can ignore any query string parameters other than `team`.
162162

163163
In Postman, you can supply query string parameters writing the query string into your request url or by hitting the `Params` button next to `Send`. Doing so will automatically fill in the request url.
164164

165-
![Postman Query String Request](https://lh3.googleusercontent.com/ESHTpXvW5xZa4jtT7_sn4dVbB000nQQq8T6ejGYDvEC-adJ9WplSuhEhMraijmldebjZ_smrnLAt6Q=w2880-h1598-rw)
165+
![Postman Query String Request](docs/postman_querystring.png)
166166

167167
## Part 4
168168
Define the endpoint:
@@ -177,7 +177,7 @@ A successful request should return a status code of `201` and return the newly c
177177
If any of the three required parameters aren't provided, return a `422` and a useful `message`. In general, your messages should provide the user/developer useful feedback on what they did wrong and how they can fix it.
178178

179179
This is how you can send `body` parameters from Postman. Make sure you don't mistake this for query parameters!
180-
![Postman POST](https://lh6.googleusercontent.com/suUZy0RIw0YyB87IymmSF2LZBKLt_RicE4Z1Nzm6gptqeN-FH5GTDlDHuFQ4yekamuw7Xc7m8FCvOA=w2880-h1598-rw)
180+
![Postman POST](docs/postman_post.png)
181181

182182
## Part 5
183183
Define the endpoint:

docs/postman_get.png

106 KB
Loading

docs/postman_get_mirror.png

113 KB
Loading

docs/postman_post.png

75.4 KB
Loading

docs/postman_querystring.png

55.4 KB
Loading

0 commit comments

Comments
 (0)