grpcurl -plaintext -import-path ./proto -proto auth.proto -d \
'{
"username": "KimWang906",
"password": "test1234",
"student_id": "2022028"
}' \
'[::1]:50051' auth.Auth/Register
grpcurl -plaintext -import-path ./proto -proto auth.proto -d \
'{
"username": "KimWang906",
"password": "test1234"
}' \
'[::1]:50051' auth.Auth/Login
grpcurl -plaintext -import-path ./proto -proto room.proto \
-H 'x-authorization: <access_token>' -d \
'{
"room_name": "Testing Room!",
"max_size": "DOUBLE_PLAYERS",
"owner_name": "KimWang906"
}' \
'[::1]:50051' room.RoomManager/CreateRoom
grpcurl -plaintext -import-path ./proto -proto room.proto \
-H 'x-authorization: <access_token>' -d \
'{
"id": 1
}' \
'[::1]:50051' room.RoomManager/DeleteRoom
grpcurl -plaintext -import-path ./proto -proto room.proto \
-H 'x-authorization: <access_token>' '[::1]:50051' room.RoomManager/ListRooms
grpcurl -plaintext -import-path ./proto -proto room.proto \
-H 'x-authorization: <access_token>' -d \
'{
"id": 1
}' \
'[::1]:50051' room.RoomManager/WatchRoomInfo
grpcurl -plaintext -import-path ./proto -proto room.proto \
-H 'x-authorization: <access_token>' -d \
'{
"id": 1
}' \
'[::1]:50051' room.RoomUserManager/JoinRoom
grpcurl -plaintext -import-path ./proto -proto room.proto \
-H 'x-authorization: <access_token>' -d \
'{}' '[::1]:50051' room.RoomUserManager/LeaveRoom