You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>`:
89
89
90
-

90
+

91
91
92
92
# Exercises
93
93
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`.
162
162
163
163
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.
@@ -177,7 +177,7 @@ A successful request should return a status code of `201` and return the newly c
177
177
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.
178
178
179
179
This is how you can send `body` parameters from Postman. Make sure you don't mistake this for query parameters!
0 commit comments