Myvideo

Guest

Login

Fast API Tutorial, Part 15: Response Status Codes

Uploaded By: Myvideo
1 view
0
0 votes
0

This is another video that discusses a feature that is useful for creation of Swagger documentation to make your API even more descriptive. A generic FastAPI response without Response Status Codes will only display 200 and 422 as response types. If, for example, you have a route that creates a new item (a POST) route or one that returns no data then you would want to change the status code to something like a 201 or 204 so that it is more easily understood by consumers of your API. We touch on that concept in this video. GitHub:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later