curl -i -X POST -H "Content-Type: application/xml" -d @example.xml http://localhost:3000/example.xml
using curl to set Accept header
curl -i -H "Accept: application/xml" http://localhost:3000/example.xml
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
curl -i -X POST -H "Content-Type: application/xml" -d @example.xml http://localhost:3000/example.xml
curl -i -H "Accept: application/xml" http://localhost:3000/example.xml
You need to create an account or log in to post comments to this site.
» Upload all .gif and .jpg fil... in shell textpattern curl
» Mount and install OS X packa... in osx mac unix commandline
» Quick Search bookmarks for M... in google search commandline browsers
» Downloading large files with... in shell osx mac curl bash
» cURL Response Times in curl ping response
» cmdparser - parse command li... in shell osx mac bash commandline parser
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails