From ed360325190a060e0f11a259da0641cf7d39a65d Mon Sep 17 00:00:00 2001 From: Michael Duong Date: Mon, 3 Nov 2025 23:18:29 +0000 Subject: [PATCH] add info to readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 22a6002..078358a 100644 --- a/README.md +++ b/README.md @@ -83,3 +83,13 @@ curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d ``` This will send a POST request to the running Lambda function and pass in the required data as JSON. + +For the testing of warm or testing of the lambda, use: + +```json +curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"body": "{\"file_location\": \"s3://retrofit-data-dev/sap_change_model/one_sample_test_dataset.parquet\", \"property_id\": 1, \"portfolio_id\": 4, \"created_at\": \"now\", \"testing\": \"true\"}"}' +``` +or +```json +curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"body": "{\"file_location\": \"s3://retrofit-data-dev/sap_change_model/one_sample_test_dataset.parquet\", \"property_id\": 1, \"portfolio_id\": 4, \"created_at\": \"now\", \"warm\": \"true\"}"}' +```