Welcome To Snipplr


Everyone's Recent Snippets Tagged curl



cURL can be used in place of wget Use this command to download a file into filesystem using terminal.
0 1890 posted 15 years ago by mprabhuram
Following our recent work on an [API for Cloudworks](http://freear.org.uk/node/40) I thought I\'d post this simple demo, which uses cURL and json_decode. [Email us](mailto:cloudworks AT open.ac.uk?subject=API) for an API key. (15-24 June 2010.)
0 1104 posted 15 years ago by nfreear
0 1116 posted 15 years ago by screamwork
1 1147 posted 15 years ago by screamwork
6 1888 posted 15 years ago by Nettuts
forms part of our Calibre Remote Web App. basically an alternate gui for calibre ebooks content-server.
0 1218 posted 15 years ago by minky
As seen on PinoyTux Website
1 1627 posted 15 years ago by batamire
0 1133 posted 15 years ago by kurokikaze
Example of how to send a subscribe_user request using Notifo's api. Notifo lets you setup push notifications to mobiles - for any site. Put the PHP into a separate file named notifo-proxy.php
0 1464 posted 15 years ago by Meander365
Here is how to upload an attachment to a CouchDb document using PHP and cURL.
0 1213 posted 15 years ago by stephanepericat
PHP function of mini bot class that lets you retrieve twitter infos from twitter nickname. ($this->attr method is part of the Mini Bot Class)
2 1770 posted 15 years ago by ginoplusio
HSH is a cool haskell library that allows you to leverage your shell scripting prowess in haskell programs. In this simple broadcatcher, I use curl for http get, and other standard unix tools for tracking history (so we don't get the same file twice...
1 3459 posted 15 years ago by softmechanics
The first function make short urls. The second function decode a short url with CURL. It gets the http header of the short url page. If the header contains a "Location:" header, then it's a redirect, and the decoded url is the url in the "Location"...
1 2614 posted 15 years ago by ginoplusio
an easy-to-use function to connect to your del.icio.us account and perform a query. query commands can be found on their api help: http://delicious.com/help/api
1 1129 posted 15 years ago by stephanepericat
The following are instructions to "re-post" files that have been already been POSTed to your php script. This can help if you want to have a form (with file upload) that POSTs its data to your own script where the text elements can be handled and the...
2 1729 posted 15 years ago by benjaminpearson
Allows downloading of sequential files
0 1382 posted 15 years ago by nate63179
correct code for subbing someone to icontact through curl
0 894 posted 16 years ago by legacye
this comes from YAPB plugin for WordPress. kudos to the author. (there are some functions that are deprecated in PHP 5.2+ - you'll need to replace eregi with the mb_ version). This should be quite failsafe, regardless if curl is installed or the set...
1 1581 posted 16 years ago by iroybot
0 1077 posted 16 years ago by wearetherock
Simple PHP script which allows you to specify your twitter log in details and a search term, then automatically follow users who have tweeted that term. Code is released as Open Source, use it as you wish - please leave my URL in the commented sectio...
3 2693 posted 16 years ago by shakefon
updated 2013-04-18! just replace the XXX fields with your own numbers. Then run this PHP Script from the command line (CLI mode). It will fetch the online statements from Hypovereinsbank direct banking. The code works by tweaking CURL settings...
0 2238 posted 16 years ago by uioreanu
the call to the url for the ad results in redirect to the 'banner' or image file
0 1140 posted 16 years ago by rowntreerob
To find your numerical Twitter ID, login to Twitter and click on your RSS feed (bottom of the page). The URL will look something like http://twitter.com/statuses/friends_timeline/12345678.rss. Your ID will be the 12345678.
9 1699 posted 16 years ago by nerdsane
To use href.in API to generate a short URL. using php curl
1 1230 posted 16 years ago by nerdsane
Is.Gd is a URL-shortening service much like TinyURL. Using PHP’s cURL library, you can create shortened URLs on the fly with ease. “is.gd” is much shorter than “tinyurl.com” so if you need the URL to be as short as possible, use this method...
0 1382 posted 16 years ago by nerdsane
I just figured out that TextExpander can execute AppleScripts. This is an experiment.
1 1088 posted 16 years ago by ttscoff