add user registration curl in shell

This commit is contained in:
Pritimay Sarkar
2023-10-23 14:19:18 +05:30
parent e34d659c07
commit d68a5a0b2b

29
scripts/create_user.sh Normal file
View File

@@ -0,0 +1,29 @@
curl --location --request POST 'https://asia-south1-hpos-af3cc.cloudfunctions.net/registerUser' --header 'Content-Type: application/json' --header 'x-client: e16a1bd15af2ee640f5a7a18c8d8333f5f01f7c66e003bbc21ee52870f1bce27' --data-raw '{
"_id": "202396063572UTALSP",
"aadharId": "876795956467",
"abhaId": "12434949797979",
"birthYear": "2000",
"bloodGroup": "",
"careOf": "",
"caste": "",
"city": "Bengaluru",
"district": "Bengaluru",
"gender": "Male",
"house": "42",
"maritalStatus": "Single",
"name": "SMI/SC/046/01/001",
"phoneNumber": "9123456789",
"pinCode": "560060",
"registeredBy": "admin",
"registrationCenterName": "SMI",
"sickleCellHistory": null,
"state": "Karnataka",
"subCaste": "",
"testStatus": false,
"underMedication": false,
"underTransfusion": false,
"userImageURL": "https://hpos-prod.web.app/logo.png",
"manual": true,
"mock": true
}'