Skip to Content
High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python
book

High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python

by Malhar Lathkar
March 2023
Intermediate to advanced
321 pages
4h 52m
English
Apress
Content preview from High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. LathkarHigh-Performance Web Apps with FastAPIhttps://doi.org/10.1007/978-1-4842-9178-8_9

9. Security and Testing

Malhar Lathkar1  
(1)
Nanded, Maharashtra, India
 

Since an API exposes the endpoints of the server’s resources to be consumed by other third-party apps, ensuring that access is only granted to authorized users becomes the topmost priority for developers. Similarly, it is also important that the code is subjected to proper testing before releasing it to the users.

In this chapter, we are going to address these important topics:
  • Exception handling

  • Security

  • Testing

  • AsyncClient

Exception Handling

The fact that, in any software, a proper exception handling ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Python Web APIs with FastAPI

Building Python Web APIs with FastAPI

Abdulazeez

Publisher Resources

ISBN: 9781484291788Purchase LinkPublisher Website