send json data in fastapi code example
Example: fastapi request get post data
from fastapi import Request
// json
request.json()
// body
request.json()
// use request with Depends
from fastapi import Depends, Request
async def function_name(request: Request):
requestData = await request.json()
...