mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
add info to readme
This commit is contained in:
parent
87b3c27986
commit
ed36032519
1 changed files with 10 additions and 0 deletions
10
README.md
10
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\"}"}'
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue