Difference between revisions of "Template:CurlExample"
From the Directed Edge Developer Base
Line 1: | Line 1: | ||
+ | <source lang="xml"> | ||
+ | {{Media:{{{1}}}.xml}} | ||
+ | </source> | ||
+ | |||
Curl Command ([[Media:{{{1}}}.xml|Download XML]]): | Curl Command ([[Media:{{{1}}}.xml|Download XML]]): | ||
<div style="background: #eee; padding: 0.5em"><tt>$ curl {{{argument|-T}}} {{{1}}}.xml <nowiki>https://exampledb:password@webservices.directededge.com/api/v1/</nowiki><span style="color: red">exampledb{{{2|}}}</span></tt></div> | <div style="background: #eee; padding: 0.5em"><tt>$ curl {{{argument|-T}}} {{{1}}}.xml <nowiki>https://exampledb:password@webservices.directededge.com/api/v1/</nowiki><span style="color: red">exampledb{{{2|}}}</span></tt></div> |
Revision as of 08:21, 24 May 2009
{{Media:{{{1}}}.xml}}
Curl Command ([[Media:{{{1}}}.xml|Download XML]]):
$ curl -T {{{1}}}.xml https://exampledb:password@webservices.directededge.com/api/v1/exampledb