I am working on an application that has the feature of uploading images, videos, pdf etc. Now the API is created using the HTTP PUT method. I have tried examples of retrofit using HTTP POST but I haven't found a working sample for HTTP PUT. If anyone has some knowledge about how to upload files of any size to the server, then please help me out. I am stuck on this from last week. Thanks.