...
...
Div |
---|
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | GET Datacenters Response | xml |
---|
| < HTTP/1.1 401 Unauthorized
< Server: Apache-Coyote/1.1
< WWW-Authenticate: Basic realm="Abiquo API"
< Content-Type: text/html;charset=utf-8
< Content-Length: 1152
< Date: Fri, 02 Jul 2010 09:40:14 GMT
|
|
...
Div |
---|
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | GET Datacenters Responsexml |
---|
| < HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Set-Cookie: auth=YWRtaW46MTI3ODA2NjA1MjM5NDowMjNmNTdkOWMxMzY3NmFjOTVmZjFlMDkyZjQyM2NmOQ; Expires=Fri, 02-Jul-2010 10:20:52 GMT; Path=/api
< Content-Type: application/vnd.abiquo.datacenters+xml
< Content-Length: 420
< Date: Fri, 02 Jul 2010 09:50:52 GMT
<
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datacenters>
<datacenter>
<link href="http://example.com/api/admin/datacenters/1" rel="edit"/>
<link href="http://example.com/api/admin/datacenters/1/racks" rel="racks"/>
<link href="http://example.com/api/admin/datacenters/1/remoteServices" rel="remoteServices"/>
<id>1</id>
<location>Redwood city</location>
<name>myDatacenter</name>
</datacenter>
</datacenters>
|
|
...
Div |
---|
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | GET Datacenters Responsexml |
---|
| < HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Content-Type: application/vnd.abiquo.datacenters+xml
< Content-Length: 420
< Date: Fri, 02 Jul 2010 09:56:35 GMT
<
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datacenters>
<datacenter>
<link href="http://example.com/api/admin/datacenters/1" rel="edit"/>
<link href="http://example.com/api/admin/datacenters/1/racks" rel="racks"/>
<link href="http://example.com/api/admin/datacenters/1/remoteServices" rel="remoteServices"/>
<id>1</id>
<location>Redwood city</location>
<name>myDatacenter</name>
</datacenter>
</datacenters>
|
|
...
Div |
---|
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | GET Datacenters Responsexml |
---|
| < HTTP/1.1 403 Forbidden
< Server: Apache-Coyote/1.1
< Set-Cookie: auth=YWRtaW46MTI3ODA2NjU4MjkzMzo5ZGQ0NGYxZTk2NWNlNjk3Nzg3YTZlYmZkNmVlM2QwMA; Expires=Fri, 02-Jul-2010 10:29:42 GMT; Path=/api
< Content-Type: text/html;charset=utf-8
< Content-Length: 1021
< Date: Fri, 02 Jul 2010 09:59:42 GMT
|
|
...