Prośba JSON Fastapi
from fastapi import FastAPI, Request
my_app = FastAPI()
@my_app.post("/getInformation")
async def getInformation(info : Request):
req_info = await info.json()
return {
"status" : "SUCCESS",
"data" : req_info
}
dhupee