curl

per POST XML an eine REST-API geben

echo '<doc><item>Some content.</item></doc>' | \
 curl -vv --request POST --header 'Content-type: text/xml' --data @- http://example.com/restapi

(Quelle)

it/oss/curl.txt · Last modified: 2011-07-29 15:30 by strols
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0