add user registration curl in shell
This commit is contained in:
29
scripts/create_user.sh
Normal file
29
scripts/create_user.sh
Normal 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
|
||||
}'
|
||||
|
||||
Reference in New Issue
Block a user