Skip to content

Instantly share code, notes, and snippets.

@mronkko
Created July 1, 2012 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mronkko/3027847 to your computer and use it in GitHub Desktop.
Save mronkko/3027847 to your computer and use it in GitHub Desktop.
Request:
PUT https://api.zotero.org/users/701495/items/548AMIPX?key=BmXAwBls1UpZ6Pj9xQvuhpW2 HTTP/1.1
User-Agent: ZotPad beta 1.1 (iPad; iPhone OS 5.1.1; fi_FI)
Content-Type: application/json
Accept-Encoding: gzip
If-Match: bbd73033dc6b64465bd49342668a7879
Content-Length: 355
Cookie: __utma=244989198.963079005.1340913958.1341041487.1341133175.5; __utmz=244989198.1340913958.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
{"accessDate":"2012-01-10 16:40:33","note":"","contentType":"application/pdf","filename":"download.pdf","title":"download.pdf","tags":[],"charset":"","url":"http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.126.6468&rep=rep1&type=pdf","linkMode":"imported_url","itemType":"attachment","md5":"846c97ad54ac00fef0a4271fd71e1c30","mtime":1341138340000}
Response:
HTTP/1.0 200 OK
Last-Modified: Sun, 01 Jul 2012 10:25:45 GMT
Server: Apache/2.2.15 (CentOS)
Content-Type: application/atom+xml
X-Powered-By: PHP/5.3.8
Content-Length: 617
Content-Encoding: gzip
Vary: Accept-Encoding
Date: Sun, 01 Jul 2012 10:25:45 GMT
Connection: close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment