change consent

This commit is contained in:
Yuli
2020-03-17 13:53:02 +02:00
parent d5f6a7827a
commit fe532510d2

View File

@@ -11,7 +11,8 @@ RESULT=`curl -s http://localhost:3000/v1/consent/email/test@paranoidguy.com/cont
echo "Create anonymous consent by email 1: $RESULT"
RESULT=`curl -s http://localhost:3000/v1/consent/email/test@paranoidguy.com/contract-approval -XPOST \
-H "X-Bunker-Token: $XTOKEN"`
-H "X-Bunker-Token: $XTOKEN"` \
-d '{"lawfulbasis":"contract"}'
echo "Create anonymous consent by email 2: $RESULT"
RESULT=`curl -s http://localhost:3000/v1/consent/phone/4444/contract-approval -XPOST \