On the page there is a small form:
<form method='post'><textarea name='xml' cols=70 rows=20></textarea><input type='submit'></form> <form method="post" enctype="multipart/form-data"> <input type="file" name="input" accept="xml" /> <input type="submit" value="Upload" /> </form> Question: how to send a file to the xml variable using a POST request? I use the library Retrofit 2 .