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
(vims-cli)[edvm@laptop asd]$ vims-cli post http://vims-devel.planisys.net/api/services/cdn/config/942 --token sk_live_8A8TCvuS6IC0lD4p5nJV0DEpBS8R1pTX --json-file foo.json | |
content-length 90 | |
server nginx/1.6.2 | |
connection keep-alive | |
date Thu, 12 Feb 2015 17:42:24 GMT | |
access-control-allow-origin * | |
access-control-allow-headers Authorization | |
content-type application/json | |
{ | |
"message": "cdn configuration saved and pushed", |
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
GET http://vims-devel.planisys.net/api/services/cdn/config/<ID:CDN> | |
{ | |
"data": { | |
"created": "Fri, 23 Jan 2015 17:01:39 GMT", | |
"hn": {}, | |
"id": 5, | |
"json_config": { | |
"upstream": { | |
"hosts": [ |
NewerOlder