Skip to content

Commit 98833fe

Browse files
authored
Update readme.md
add a note about PUT
1 parent eaf556a commit 98833fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

days/009-012-modern-apis-starred/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ Then start to build your API using the skeleton from my demo. Try to implement t
1818

1919
## Day 4: Flesh out (and test) the API
2020

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/).
2224

2325
Install [Postman](https://www.getpostman.com/) and run the different methods against various endpoints, do they all return the expected data and status codes?
2426

0 commit comments

Comments
 (0)