aboutsummaryrefslogtreecommitdiffstats
path: root/tester.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tester.sh')
-rwxr-xr-xtester.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tester.sh b/tester.sh
index 0323dcb..19c1549 100755
--- a/tester.sh
+++ b/tester.sh
@@ -119,3 +119,14 @@ curl --request POST \
119 "hash": "000000a996ab57b3aff1ad1d009767278f819895b28ef860a8ec3b6560d6ed0e" 119 "hash": "000000a996ab57b3aff1ad1d009767278f819895b28ef860a8ec3b6560d6ed0e"
120}' \ 120}' \
121 http://localhost:8080/block 121 http://localhost:8080/block
122
123curl --request POST \
124 --header 'Content-Type: application/json' \
125 --header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aGEiOiIyYjY0OGZmYWI1ZDlhZjFkNWQ1ZmMwNTJmYzllNTFiODgyZmM0ZmIwYzk5ODYwOGM5OTIzMmY5MjgyMDAwMDAwIiwiaWF0IjoxNjE4MzYwNjQxLCJleHAiOjE3MTgyNjA2NDF9.P5L_uZ9lOhRZCbsG9GDXn_rmZat3dP9Y2lbk8GY4Kg4pOxJIklBUxot-TtJzB0vEJFcjnxVnT2lFLCgfdQLHTJvURiW0KRHi94e1Kj8aDXxJ0qjlq4-c1JCZnAIbDpvkFtHNKz04yfyeSR2htJ6kOjlqVpeUhLVokHhi1x-ZUZZSpeGnlIXgi-AcmkEoyOypZGSZgQ1hjID2f18zgfbshgPK4Dr0hiN36wYMB0y0YiikRbvDuGgDzRLN2nitih46-CXTGZMqIRz3eAfM2wuUSH1yhdKi5_vavz8L3EPVCGMO-CKlPUDkYA-duQZf_q3tG2fkdaFlTAcCik_kVMprdw' \
126 --data '{
127 "transaction_list": [],
128 "nonce": 2151653522,
129 "timestamp": "2021-04-13T23:38:00",
130 "hash": "000000a996ab57b3aff1ad1d009767278f819895b28ef860a8ec3b6560d6ed0e"
131}' \
132 http://localhost:8080/block