Created
December 11, 2010 03:54
-
-
Save alphaville/737133 to your computer and use it in GitHub Desktop.
cURL commands for retrieving lists of resources from Jaqpot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl -X GET -H Accept:text/uri-list localhost:3000/bibtex -v | |
| * About to connect() to localhost port 3000 (#0) | |
| * Trying ::1... connected | |
| * Connected to localhost (::1) port 3000 (#0) | |
| > GET /bibtex HTTP/1.1 | |
| > User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15 | |
| > Host: localhost:3000 | |
| > Accept:text/uri-list | |
| > | |
| < HTTP/1.1 200 The request has succeeded | |
| < Content-Length: 487 | |
| < Content-Type: text/uri-list; charset=ISO-8859-1 | |
| < Date: Sat, 11 Dec 2010 03:52:24 GMT | |
| < Accept-Ranges: bytes | |
| < Server: Restlet-Framework/2.0m7 | |
| < Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept | |
| < Connection: close | |
| < | |
| http://bibtex/xx | |
| http://localhost:3000/bibtex/279897b3-e20a-40eb-b589-595228197431 | |
| http://localhost:3000/bibtex/28f6648f-caa4-4918-a5b2-42deb3a0cc59 | |
| http://localhost:3000/bibtex/632c00d7-fdc0-49b3-b7bf-f923caaf989f | |
| http://localhost:3000/bibtex/6f7fdb8f-003b-4df6-8f86-a697b241e817 | |
| http://localhost:3000/bibtex/eb8447d3-518c-43f7-ad77-c5b9d26bcbd1 | |
| http://localhost:3000/bibtex/f404ce25-94cd-49f6-8868-67aa3a8156e2 | |
| http://localhost:3000/bibtex/fe48591a-56fe-46ab-b7f0-4452bb981b9c | |
| * Closing connection #0 | |
| ============================ | |
| $ curl -X GET -H Accept:text/uri-list localhost:3000/algorithm -v | |
| * About to connect() to localhost port 3000 (#0) | |
| * Trying ::1... connected | |
| * Connected to localhost (::1) port 3000 (#0) | |
| > GET /algorithm HTTP/1.1 | |
| > User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15 | |
| > Host: localhost:3000 | |
| > Accept:text/uri-list | |
| > | |
| < HTTP/1.1 200 The request has succeeded | |
| < Content-Length: 275 | |
| < Content-Type: text/uri-list; charset=ISO-8859-1 | |
| < Date: Sat, 11 Dec 2010 03:52:36 GMT | |
| < Accept-Ranges: bytes | |
| < Server: Restlet-Framework/2.0m7 | |
| < Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept | |
| < Connection: close | |
| < | |
| http://localhost:3000/algorithm/plsFilter | |
| http://localhost:3000/algorithm/mvh | |
| http://localhost:3000/algorithm/leverages | |
| http://localhost:3000/algorithm/svm | |
| http://localhost:3000/algorithm/svc | |
| http://localhost:3000/algorithm/mlr | |
| http://localhost:3000/algorithm/cleanup | |
| * Closing connection #0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment