cURL Utility
(Redirected from cURL)
Jump to navigation
Jump to search
A cURL Utility is a CLI system utility for transferring data using various network protocols.
- Context:
- It can be used as a Website Scraping Utility.
- It can (often) be based on a cURL Library.
- Example(s):
curl --silent -XGET 'http://elasticsearch.company.com:0029/_search?pretty' -d '{"size":0,"facets":{"my_facets":{"terms":{"field":"category"}}}}
curl -X POST -d @filename.txt http://example.com/path/to/resource --header "Content-Type:application/json"
Send the contents of filename.txt as the post request.curl -d "name=Rafael%20Sagula%26phone=3320780" http://www.where.com/guest.cgi
curl -XGET http://ec2-107-22-51-237.compute-1.amazonaws.com:3000/productTitleDecomp -d "productTitle=$encodedTitle"
curl --output /tmp/.test.910.html 'https://dl.acm.org/citation.cfm?id=2043174.2043195&preflayout=flat'
- Counter-Example(s):
- See: curl Programming Language.
References
2013
- (Wikipedia, 2013) ⇒ http://en.wikipedia.org/wiki/cURL Retrieved:2013-12-18.
- cURL is a computer software project providing a library and command-line tool for transferring data using various protocols. The cURL project produces two products, libcurl and cURL. It was first released in 1997.