Handling request.json() Without Async in Starlette #2504
-
Hi everyone, I encountered an interesting challenge while working with Starlette. I have a What would be the correct approach to handle Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to use |
Beta Was this translation helpful? Give feedback.
You need to use
async
. Run the rest in a thread executor.