java - How to create a Multipart request using WLResourceRequest in Android -


i've created java adapter accepts multipart form data. want create multipart request native android app. i'm not able figure out how construct multipart request using wlresourcerequest class in mobilefirst api. example or pointer in direction appreciated. in advance!

you needn't via wlresourcerequest in client-side.

imo should similar this:

// create request send final httppost post = new httppost("your-destination");  // construct body of object... ... ...  // send request , response httpresponse response = client.execute(post); 

if have security involved, may want read following documentation (think post instead of get): http://www-01.ibm.com/support/knowledgecenter/sshs8r_7.0.0/com.ibm.worklight.dev.doc/dev/c_custom_request_to_resource_java.html?lang=en


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -