From: NjeriChelimo <[email protected]>

---
 site/content/cimi-curl/cimi-curl-volumes.md  |    4 ++--
 site/output/cimi-curl/cimi-curl-volumes.html |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/site/content/cimi-curl/cimi-curl-volumes.md 
b/site/content/cimi-curl/cimi-curl-volumes.md
index 1de48a5..e897258 100644
--- a/site/content/cimi-curl/cimi-curl-volumes.md
+++ b/site/content/cimi-curl/cimi-curl-volumes.md
@@ -158,11 +158,11 @@ title: CIMI cURL Examples - Volume Resources
 
     <p>Create a Volume Template with XML body:</p>
 
-    <pre>curl --user "mockuser:mockpassword" -H "Content-Type: 
application/xml" -H "Accept: application/xml" -X POST -d '&lt;VolumeTemplate 
xmlns="http://schemas.dmtf.org/cimi/1"&gt; &lt;name&gt; marios_vol_template 
&lt;/name&gt; &lt;description&gt; my first volume template &lt;/description&gt; 
&lt;volumeConfig href="http://localhost:3001/cimi/volume_configs/1"&gt; 
&lt;/volumeConfig&gt; &lt;/VolumeTemplate&gt;' 
http://localhost:3001/cimi/volume_templates</pre>
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: 
application/xml" -H "Accept: application/xml" -X POST -d '&lt;VolumeTemplate 
xmlns="http://schemas.dmtf.org/cimi/1"&gt; &lt;name&gt; marios_vol_template 
&lt;/name&gt; &lt;description&gt; my first volume template &lt;/description&gt; 
&lt;volumeConfig href="http://localhost:3001/cimi/volume_configurations/1"&gt; 
&lt;/volumeConfig&gt; &lt;volumeImage 
href="http://localhost:3001/cimi/volume_images/snap1"&gt; &lt;/volumeImage&gt; 
&lt;/VolumeTemplate&gt;' http://localhost:3001/cimi/volume_templates</pre>
 
     <p>Create a Volume Template with JSON body:</p>
 
-    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: 
application/json" -H "Accept: application/xml" -X POST -d '{ "resourceURI": 
"http://schemas.dmtf.org/cimi/1/VolumeTemplate","name": "marios_vol_template", 
"description": "my first volume template", "volumeConfig": { "href": 
"http://localhost:3001/cimi/volume_configs/1"} }' 
http://localhost:3001/cimi/volume_templates </pre>
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: 
application/json" -H "Accept: application/xml" -X POST -d '{ "resourceURI": 
"http://schemas.dmtf.org/cimi/1/VolumeTemplate","name": "marios_vol_template", 
"description": "my first volume template", "volumeConfig": { "href": 
"http://localhost:3001/cimi/volume_configurations/1"}, "volumeImage": { "href": 
"http://localhost:3001/cimi/volume_images/snap1"} }' 
http://localhost:3001/cimi/volume_templates </pre>
 
     <p>Delete a Volume Template:</p>
 
diff --git a/site/output/cimi-curl/cimi-curl-volumes.html 
b/site/output/cimi-curl/cimi-curl-volumes.html
index fa21a0e..8fc2482 100644
--- a/site/output/cimi-curl/cimi-curl-volumes.html
+++ b/site/output/cimi-curl/cimi-curl-volumes.html
@@ -250,11 +250,11 @@
 
     <p>Create a Volume Template with XML body:</p>
 
-    <pre>curl --user "mockuser:mockpassword" -H "Content-Type: 
application/xml" -H "Accept: application/xml" -X POST -d '&lt;VolumeTemplate 
xmlns="http://schemas.dmtf.org/cimi/1"&gt; &lt;name&gt; marios_vol_template 
&lt;/name&gt; &lt;description&gt; my first volume template &lt;/description&gt; 
&lt;volumeConfig href="http://localhost:3001/cimi/volume_configs/1"&gt; 
&lt;/volumeConfig&gt; &lt;/VolumeTemplate&gt;' 
http://localhost:3001/cimi/volume_templates</pre>
+    <pre>curl --user "mockuser:mockpassword" -H "Content-Type: 
application/xml" -H "Accept: application/xml" -X POST -d '&lt;VolumeTemplate 
xmlns="http://schemas.dmtf.org/cimi/1"&gt; &lt;name&gt; marios_vol_template 
&lt;/name&gt; &lt;description&gt; my first volume template &lt;/description&gt; 
&lt;volumeConfig href="http://localhost:3001/cimi/volume_configurations/1"&gt; 
&lt;/volumeConfig&gt; &lt;volumeImage 
href="http://localhost:3001/cimi/volume_images/snap1"&gt; &lt;/volumeImage&gt; 
&lt;/VolumeTemplate&gt;' http://localhost:3001/cimi/volume_templates</pre>
 
     <p>Create a Volume Template with JSON body:</p>
 
-    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: 
application/json" -H "Accept: application/xml" -X POST -d '{ "resourceURI": 
"http://schemas.dmtf.org/cimi/1/VolumeTemplate","name": "marios_vol_template", 
"description": "my first volume template", "volumeConfig": { "href": 
"http://localhost:3001/cimi/volume_configs/1"} }' 
http://localhost:3001/cimi/volume_templates </pre>
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: 
application/json" -H "Accept: application/xml" -X POST -d '{ "resourceURI": 
"http://schemas.dmtf.org/cimi/1/VolumeTemplate","name": "marios_vol_template", 
"description": "my first volume template", "volumeConfig": { "href": 
"http://localhost:3001/cimi/volume_configurations/1"}, "volumeImage": { "href": 
"http://localhost:3001/cimi/volume_images/snap1"} }' 
http://localhost:3001/cimi/volume_templates </pre>
 
     <p>Delete a Volume Template:</p>
 
-- 
1.7.9.5

Reply via email to