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
Copy file name to clipboardExpand all lines: days/009-012-modern-apis-starred/readme.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ Then start to build your API using the skeleton from my demo. Try to implement t
18
18
19
19
## Day 4: Flesh out (and test) the API
20
20
21
-
Next continue your API implementing the other CRUD operations: `POST`, `PUT` (update) and `DELETE`. Make sure you add `404`s (data not there) where applicate. Maybe you want to add some custom validations as well (like the manufacturer `enum` example in the lesson). See the [API Star docs](https://docs.apistar.com/api-guide/type-system/).
21
+
Next continue your API implementing the other CRUD operations: `POST`, `PUT` (update) and `DELETE` (**note** PUT requests require a trailing slash!). Make sure you add `404`s (data not there) where applicable.
22
+
23
+
Maybe you want to add some custom validations as well (like the manufacturer `enum` example in the lesson). See the [API Star docs](https://docs.apistar.com/api-guide/type-system/).
22
24
23
25
Install [Postman](https://www.getpostman.com/) and run the different methods against various endpoints, do they all return the expected data and status codes?
0 commit comments