System.out.println("providerList:");
System.out.println(get(accessToken,"/api/v1/buyer/providers/list", null, "xml"));
System.out.println("appListpublic:");
System.out.println(get(accessToken,"/api/v1/buyer/appliances/public", null, "xml"));
providerList:
https://spotcloud.appspot.com/api/v1/buyer/providers/list.xml?
<?xml version="1.0" encoding="utf-8"?>
<list>
</list>
The parameter should be "appliance", not "application". Try it with
that and see if anything changes.
Regards,
Adam
On Thu, 2011-06-16 at 17:39 +0200, Robin Henniges wrote:
> Hi Adam,
> Need your help again !
>
>
> this time i want to run an instance !
>
>
> so i wrote a post method (similar to get-method ;-) )
>
>
> post ( accessToken , "/api/v1/buyer/instances/list" , HashMap
> { <hardware, somethingblablaghi8t53n>,<application,
> agsksDexampleWordwDKSlwlW>} , "xml" )
>
>
>
>
> request is:
>
>
> i get a object like this:
>
>
> <obj>
> <hardware>this field is req.</hardware>
> <application>this field is req.</application>
> </obj>
>
>
> But the url that i POST includes both.
>
>
>
>
> Thank you !