mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-07-12 13:28:58 +00:00
Update README.md
This commit is contained in:
parent
d3b1bb4bb9
commit
391cc66435
1 changed files with 1 additions and 4 deletions
|
|
@ -79,10 +79,7 @@ Sets the RUNTIME_ENVIRONMENT variable to dev.
|
||||||
To test the Lambda function, use the following curl command:
|
To test the Lambda function, use the following curl command:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"body": "{\"file_location\": \"s3://retrofit-data-dev/model_build_data/change_data/rdsap_full/test_data_with_id.parquet\", \"property_id\": 1, \"portfolio_id\": 4, \"created_at\": \"now\"}"'
|
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\"}"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
```json
|
|
||||||
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"body": "{\"file_location\": \"s3://retrofit-data-dev/sap_change_model/dataset.parquet\", \"property_id\": 1, \"portfolio_id\": 4, \"created_at\": \"now\"}"}'
|
|
||||||
```
|
|
||||||
This will send a POST request to the running Lambda function and pass in the required data as JSON.
|
This will send a POST request to the running Lambda function and pass in the required data as JSON.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue