IDigBio API v1 Specification: Difference between revisions

Line 384: Line 384:
;Sample Usage
;Sample Usage


Given the following:
Request a thumbnail image for a mediarecord with iDigBio UUID of <code>00002091-4fb3-410a-9307-bd3e917dfcca</code> by issuing an HTTP "GET" to the following URL:


<pre>
<pre>
Line 390: Line 390:
</pre>
</pre>


Accessing that URL results in a number of HTTP Redirects to the target thumbnail image, illustrated here with the Firefox Web Developer Tools visible:
The response to the above URL is a series of HTTP Redirects that lead to a thumbnail image, illustrated here with the Firefox Web Developer Tools visible:


[[File:Screenshot_firefox_webdevtools_thumbnail_00002091-4fb3-410a-9307-bd3e917dfcca.png]]
[[File:Screenshot_firefox_webdevtools_thumbnail_00002091-4fb3-410a-9307-bd3e917dfcca.png]]
1,554

edits