Adding Signup

This commit is contained in:
stephb9959
2022-02-22 23:09:18 -08:00
parent d9e9afef62
commit b3ab9b5e1f
9 changed files with 225 additions and 19 deletions

View File

@@ -462,7 +462,7 @@ affecteddevices() {
}
signup() {
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/signup?email=stehane.bourque@gmail.com&serialNumber=112233445566" \
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/signup?email=stephane.bourque@gmail.com&serialNumber=112233445566" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${token}" \
-H "accept: application/json" > ${result_file}