Brian Dunning's FileMaker Custom Functions

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
Colin Fallon

Share on Facebook Share on Twitter

  Sample input:
GetHttpHeader ( $headers ; "Last-Modified" )
  Sample output:
Thu, 25 May 2017 14:52:05 GMT

  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 ; "" ; cURL options: "--D $headers"
Set Field [ Table::Last_Mod_Date ; GetHttpHeader ( $headers ; "Last-Modified" )



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.