0

I am using OkHttp3 and want to achieve the same result as in postman attached file in android: https://drive.google.com/file/d/0BzRp7y4UMDw_b293c2NMbFoxMHc/view?usp=sharing

The call will send POST with "form-data" key:"wav" and the value an attached audio file from resources

A sample code is what I need

2
  • Use multipart Request to upload your audio file. Commented Jun 21, 2017 at 11:19
  • For reference you can refer this. you need to just change the mime type and you can easily upload your audio file. Commented Jun 21, 2017 at 11:20

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.