how to upload file using restful service
Hi
I want to upload file using restful service
This is my code to send file to rest service
MultipartEntity reqEntity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
FileBody bin = new FileBody(f);
FormBodyPart bodypart = new FormBodyPart("file", bin);
reqEntity.addPart(bodypart);
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost(url + args);
httppost.setEntity(reqEntity);
StringBuilder str = null;
HttpResponse response = httpclient.execute(httppost);
But how can i retrive at server side in restful service using plsql?
thank you