A Lambda Function to post JSON generated by a 1-click event to a FileMaker Database via the FileMaker Data API. This function requires a FileMaker Hosted database with the following Parameters:
SERVER - The URL of the server where the database is hosted. Include either http:// or https://
DATABASE - Name of the FileMaker database where the button JSON will be saved.
FIELD - Name of the FileMaker field where the button JSON will be saved.
LAYOUT - Name of the FileMaker layout that contains FIELD.
ACCOUNT - Name of an account that has fmrest (Data API) privileges.
PASSWORD - The password for ACCOUNT above.
FileMaker Sample File Credentials:
Full Access Account:admin
Full Access Password:admin