I see the issue in the logs now. I will work on getting this sorted out
for you. Thanks for the report.
Adam
private String sendQuery(Token token, String respType,String instanceType, String imageId) throws ConnectException {
HashMap<String,String> param = new HashMap<String,String>();
param.put("hardware", instanceType);
param.put("appliance", imageId);
OAuthRequest request = new OAuthRequest(Verb.POST, https://spotcloud.appspot.com/api/v1/buyer/instances/list + ((respType!="")?".":"") + respType);
methodThatAddsParamsToRequest(param, request);
try{
service.signRequest(token, request);
Response response=null;
response = request.send();
return response.getBody();
}catch (Exception e) {
throw new ConnectException(e.getMessage());
}
}
I know java is not yours ;) but the code is pretty easy... maybe you find a mistake in the api url.