R Ravina • 3.96K Points Extraordinary Q. What does `raise HTTPException(status_code=404, detail='Item not found')` do? (A) Redirects the user (B) Logs a warning (C) Returns a 404 response with JSON error message (D) Crashes the server Correct Answer - Option(C) Views: 14 Filed under category Fast API Hashtags: Share Manage Tags
Discusssion
Login to discuss.