Created
December 3, 2014 16:53
-
-
Save dizz/1e2497c8eda20cca0bfe to your computer and use it in GitHub Desktop.
correct GET on SO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[andy:...ce/mcn-demo/d-epc-sm/bundle]$ curl -v -X GET http://127.0.0.1:8888/epc/547f3d32ac3c30babe0000e1 -H 'Content-type: text/occi' -H 'X-Auth-Token: '$KID -H 'X-Tenant-Name: '$TENANT (master✱) | |
* Hostname was NOT found in DNS cache | |
* Trying 127.0.0.1... | |
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0) | |
> GET /epc/547f3d32ac3c30babe0000e1 HTTP/1.1 | |
> User-Agent: curl/7.37.1 | |
> Host: 127.0.0.1:8888 | |
> Accept: */* | |
> Content-type: text/occi | |
> X-Auth-Token: 82654f42e8a947f08a37085ac651a62a | |
> X-Tenant-Name: edmo | |
> | |
* HTTP 1.0, assume close after body | |
< HTTP/1.0 200 OK | |
< Date: Wed, 03 Dec 2014 16:43:19 GMT | |
< Content-length: 819 | |
< Content-Type: text/plain | |
< Server: pyssf OCCI/1.1 | |
< | |
Category: epc; scheme="http://schemas.mobile-cloud-networking.eu/occi/sm#"; class="kind"; title="This is an example EPC service type"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://127.0.0.1:8888/epc/"; attributes="mcn.endpoint.pgw_u{immutable} mcn.endpoint.sgw_u{immutable} mcn.endpoint.dns{immutable} mcn.endpoint.mme-pgw_c-sgw_c{immutable} mcn.endpoint.epc.maas.ip mcn.endpoint.hss{immutable}" | |
X-OCCI-Attribute: mcn.service.state="provision" | |
X-OCCI-Attribute: string="immutable_init_value" | |
X-OCCI-Attribute: occi.mcn.stack.state="CREATE_COMPLETE" | |
X-OCCI-Attribute: float="0.11" | |
X-OCCI-Attribute: occi.mcn.stack.id="918de808-f186-4bd0-a33f-3c1eecd121d7" | |
X-OCCI-Attribute: mcn.endpoint.epc.maas.ip="127.0.0.1" | |
X-OCCI-Attribute: integer="1" | |
* Closing connection 0 | |
X-OCCI-Attribute: occi.core.id="547f3d32ac3c30babe0000e1"% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment