Fom Data

Batman learned how to handle file uploads using Robyn. Now, he wanted to handle the form data

Handling Form Data

Batman uploaded some multipart form data and wanted to handle it using the following code:

Request

GET
/hello_world
@app.post("/upload")
async def upload(request):
  form_data = request.from_data

  return form_data

What's next?

Now, Batman was ready to learn about the advanced features of Robyn. He wanted to find a way to get realtime updates in his dashboard.