I am using HTTP API called HttpClient to upload the file using "post", but haven't been able to find any sample code for the same.
Any ideas? Any examples/implementations?
Edit:-
I meant HTTP API called HttpClient - See "Consuming RESTful Services with HttpClient" here