From bc26e9744c03127daae09d02c12164878e961ad3 Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Fri, 8 Dec 2023 21:46:07 +0530 Subject: [PATCH] bash for pred function --- scripts/func_prediction_req.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/func_prediction_req.sh diff --git a/scripts/func_prediction_req.sh b/scripts/func_prediction_req.sh new file mode 100644 index 0000000..185979a --- /dev/null +++ b/scripts/func_prediction_req.sh @@ -0,0 +1,10 @@ +curl --location --request POST 'https://asia-south1-hpos-af3cc.cloudfunctions.net/my_function' --header 'Content-Type: application/json' --header 'x-client: e16a1bd15af2ee640f5a7a18c8d8333f5f01f7c66e003bbc21ee52870f1bce27' --data-raw '{ + "_id": "202311180000SMIBLR", + "calculatedRatio": "0.1232", + "deviceRatio": "0.253", + "led1Buffer": "23981", + "led2Buffer": "21882", + "led1Sample": "18906", + "led2Sample": "9837" +}' +