android - how to parse bytearraybody from MultipartEntity which is added to HttpPut request in C# -


i sending public key android server in of bytearrybody added multipartentity , attached http put request. not aware of server side code written c#. struggling bytearrybody put request's multipartentity. please me if knows.

i sending public key below @ client side.

        string csrfiledata = utils.getstringpref(context, constants.storecsr);         multipartentity multipartcontent = new multipartentity();         bytearraybody key = new bytearraybody(csrfiledata.getbytes(),                 "usercsr");         multipartcontent.addpart("usercsr", key);         httpput.setentity(multipartcontent); 


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -