IDigBio API v1 Examples: Difference between revisions

Line 473: Line 473:
</pre>
</pre>


'''is this correct?'''
We tell curl to use the file as the source of the data with the at '@' sign.
To convince curl to use the <code> GET </code> HTTP method instead of <code> POST </code> HTTP method when invoked with the -d option, we add the additional <code> -X </code> option and specify the <code>GET</code> method. We get the same results in the data fields as the previous search:


<pre>
<pre>
1,554

edits