my modified code camp rest client
revised version including multipart httppost ,httpput and delete and file post for android