Cant upload file through okhttp3 : <p>I get the file on activity result.Or should i say the content uri version of it.</p>

<pre><code>public void onActivityResult(int requestCode, int resultCode, Intent data) {
    // TODO Auto-generated method stub
    super.onActivityResult(requestCode, resultCode, data);

    if(resultCode==RESULT_OK &amp;&amp; requestCode==0){
        Log.d("uri data",""+data.getData());
        selectedFileUri = data.getData();
</code></pre>

<p>My question is how do i send this file through okhttp3 method?</p>

<p>The okhttp 3 method is as follows</p>

<pre><code>multipart.addFilePart("data[User][user_picture]", selectedFileUri);
</code></pre>

<p>Thank you for your time.</p>
