Is it possible to use org.jclouds.rest.HttpClient (or any other way) for
sending a request to cloud provider?
I need this for querying ec2 status checks which is not supported by the
API.

You should be able to do something like

HttpRequest req = HttpRequest.builder()....build(); // [1]
HttpResponse resp = ctx.utils().http().invoke(req); // [2]

but you'd have to manage all the authentication and headers yourself :-(

Out of curiosity: to which "unsupported request(s)" are you referring?

ap

[1] http://javadocs.jclouds.cloudbees.net/org/jclouds/http/HttpRequest.html
[2] http://javadocs.jclouds.cloudbees.net/org/jclouds/rest/Utils.html#http()

Reply via email to