Uploading images from flutter web to REST api with DIO

Good morning, guys.

I am trying to send a image resource selected by user in flutter web interface to a REST API using DIO plugin. Has anyone implemented a similar solution?

What is the problem you are facing? I have done that number of times