$./testAPIs.sh
POST请求注册Org1 ...
{"success":true,"secret":"","message":"Jim enrolled Successfully","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NzQ3ODQ2MjgsInVzZXJuYW1lIjoiSmltIiwib3JnTmFtZSI6Ik9yZzEiLCJpYXQiOjE1NzQ3NDg2Mjh9.z-R6C5jAffwW-pDKZ80Cp4F9TNdfVKnd71e52KKlZz0"}
ORG1令牌为
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NzQ3ODQ2MjgsInVzZXJuYW1lIjoiSmltIiwib3JnTmFtZSI6Ik9yZzEiLCJpYXQiOjE1NzQ3NDg2Mjh9.z-R6C5jAffwW-pDKZ80Cp4F9TNdfVKnd71e52KKlZz0
POST请求注册Org2 ...
{"success":true,"secret":"","message":"Barry enrolled Successfully","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NzQ3ODQ2MjksInVzZXJuYW1lIjoiQmFycnkiLCJvcmdOYW1lIjoiT3JnMiIsImlhdCI6MTU3NDc0ODYyOX0.yDOu_14YW3C33HyrLqkxEBQiJh57eoxW7X2pLUuD5IU"}
ORG2令牌为
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NzQ3ODQ2MjksInVzZXJuYW1lIjoiQmFycnkiLCJvcmdOYW1lIjoiT3JnMiIsImlhdCI6MTU3NDc0ODYyOX0.yDOu_14YW3C33HyrLqkxEBQiJh57eoxW7X2pLUuD5IU
POST请求创建频道...
POST请求在Org1上加入频道
{"success":false,"message":"Failed to join all peers to channel. cause:Error: Failed to connect before the deadline URL:grpcs://localhost:7050"}
POST请求在Org2上加入频道
{"success":false,"message":"Failed to join all peers to channel. cause:Error: Failed to connect before the deadline URL:grpcs://localhost:7050"}