MT#14629 Add single quot around user:password for curl examples

So when copy-pasted and applied username or password with special
shell symbols it will work anyway

Change-Id: I703527095c731e536406331aa61a769759a73e02
changes/24/2424/2
Irina Peshinskaya 11 years ago
parent 0e1d80c15f
commit 45db3c968d

@ -18,10 +18,10 @@ You can authenticate against the API using your normal <b>NGCP Panel</b> adminis
<h5>Using cURL on the Shell</h5>
<p>
With cURL, use <span>--user username:password</span> option to specify your access credentials. Specifying the realm is not needed here.
With cURL, use <span>--user 'username:password'</span> option to specify your access credentials. Specifying the realm is not needed here.
<code>
curl -i -X GET --user myuser:mypassword https://example.org:1443/api/
curl -i -X GET --user 'myuser:mypassword' https://example.org:1443/api/
</code>
Additionally use the <span>--insecure</span> option if you are testing against a self-signed server certificate.

Loading…
Cancel
Save