Created
December 10, 2015 06:02
-
-
Save rdmpage/9043030c8b5716d54f24 to your computer and use it in GitHub Desktop.
EOL Collections Write API
This file contains 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
{"collection":{"name":"Mesoplodon","description":"Mesoplodon species","collection_items":[{"collected_item_type":"TaxonConcept","collected_item_id":328563}]}} |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>baseURL</key> | |
<string>http://eol.org/wapi/collections</string> | |
<key>bodyString</key> | |
<string>{"collection":{"name":"Mesoplodon","description":"Mesoplodon species","collection_items":[{"collected_item_type":"TaxonConcept","collected_item_id":328563}]}}</string> | |
<key>followRedirect</key> | |
<true/> | |
<key>handleJSONPCallbacks</key> | |
<false/> | |
<key>headers</key> | |
<array> | |
<dict> | |
<key>header</key> | |
<string>Content-Type</string> | |
<key>inUse</key> | |
<true/> | |
<key>value</key> | |
<string>application/json</string> | |
</dict> | |
<dict> | |
<key>header</key> | |
<string>Expect</string> | |
<key>inUse</key> | |
<true/> | |
<key>value</key> | |
<string>100-continue</string> | |
</dict> | |
<dict> | |
<key>header</key> | |
<string>Authorization</string> | |
<key>inUse</key> | |
<true/> | |
<key>value</key> | |
<string>Token token=[token]</string> | |
</dict> | |
</array> | |
<key>httpMethod</key> | |
<string>POST</string> | |
<key>jsonpScript</key> | |
<string></string> | |
<key>paramBodyUIChoice</key> | |
<integer>0</integer> | |
<key>parameters</key> | |
<array/> | |
<key>parametersType</key> | |
<integer>1</integer> | |
<key>presentBeforeChallenge</key> | |
<false/> | |
<key>stringEncoding</key> | |
<integer>4</integer> | |
<key>usingHTTPBody</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Authorization: Token token=
Content-Type: application/json
Expect: 100-continue
Get API token from your profile page in EOL, e.g. http://eol.org/users/50575