Difference between revisions of "Template:CurlExample"

From the Directed Edge Developer Base
Jump to: navigation, search
Line 1: Line 1:
Curl Command ([[Media:{{{1}}}|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:18, 24 May 2009

Curl Command ([[Media:{{{1}}}.xml|Download XML]]):

$ curl -T {{{1}}}.xml https://exampledb:password@webservices.directededge.com/api/v1/exampledb