GetHttpHeader ( headers ; searchHdr )
Get the value of a single http header from the list of headers returned by cURL options --D
Average rating: 3.7 (3 votes) Log in to vote
Colin Fallon Colin Fallon http://none.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
// Example to get the Last-Modified header
Insert From URL [ Select ; With dialog: Off ; $json ; "http://www.mysite.com/resource.json" ; cURL options: "--D $headers"
Set Field [ Table::Last_Mod_Date ; GetHttpHeader ( $headers ; "Last-Modified" )
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.