$ B A S E   =   ' h t t p : / / l o c a l h o s t : 8 0 8 0 ' 
 
 $ u   =   ' r o l l b a c k _ '   +   [ g u i d ] : : N e w G u i d ( ) . T o S t r i n g ( ' N ' ) . S u b s t r i n g ( 0 , 8 ) 
 
 $ b o d y   =   ' { \ " u s e r n a m e \ " : \ " '   +   $ u   +   ' \ " , \ " d i s p l a y _ n a m e \ " : \ " R B \ " , \ " p a s s w o r d \ " : \ " T e s t - 1 2 3 4 - a b c d e f \ " } ' 
 
 c u r l . e x e   - s   - X   P O S T   " $ B A S E / a p i / v 1 / u s e r s "   - H   " C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n "   - d   $ b o d y   |   O u t - N u l l 
 
 $ c r e d   =   [ C o n v e r t ] : : T o B a s e 6 4 S t r i n g ( [ T e x t . E n c o d i n g ] : : U T F 8 . G e t B y t e s ( $ u   +   ' : T e s t - 1 2 3 4 - a b c d e f ' ) ) 
 
 $ t o k   =   ( c u r l . e x e   - s   - X   P O S T   " $ B A S E / a p i / v 1 / a u t h / s e s s i o n s "   - H   " A u t h o r i z a t i o n :   B a s i c   $ c r e d "   |   C o n v e r t F r o m - J s o n ) . t o k e n 
 
 $ m e   =   c u r l . e x e   - s   " $ B A S E / a p i / v 1 / u s e r s / m e "   - H   " A u t h o r i z a t i o n :   B e a r e r   $ t o k "   |   C o n v e r t F r o m - J s o n 
 
 $ t i t l e   =   ' r o l l b a c k - t e s t - '   +   [ g u i d ] : : N e w G u i d ( ) . T o S t r i n g ( ' N ' ) . S u b s t r i n g ( 0 , 8 ) 
 
 $ c h a t B o d y   =   ' { \ " t i t l e \ " : \ " '   +   $ t i t l e   +   ' \ " , \ " m e m b e r _ i d s \ " : [ \ " '   +   $ m e . i d   +   ' \ " , \ " 9 9 9 9 9 9 9 9 - 9 9 9 9 - 4 9 9 9 - 8 9 9 9 - 9 9 9 9 9 9 9 9 9 9 9 9 \ " ] } ' 
 
 $ r e s p o n s e   =   c u r l . e x e   - s   - w   " ` n H T T P   % { h t t p _ c o d e } "   - X   P O S T   " $ B A S E / a p i / v 1 / c h a t s "   - H   " A u t h o r i z a t i o n :   B e a r e r   $ t o k "   - H   " C o n t e n t - T y p e :   a p p l i c a t i o n / j s o n "   - d   $ c h a t B o d y 
 
 " r e s p o n s e :   $ r e s p o n s e "   |   T e e - O b j e c t   " $ E V 4 \ 1 0 - r o l l b a c k . t x t " 
 
 $ c o u n t   =   d o c k e r   c o m p o s e   - - e n v - f i l e   . e n v   e x e c   - T   d b   p s q l   - U   m e s s e n g e r   - d   m e s s e n g e r   - t   - c   " S E L E C T   c o u n t ( * )   F R O M   c h a t s   W H E R E   t i t l e   =   ' $ t i t l e ' ; " 
 
 " c h a t s   w i t h   t h i s   t i t l e :   $ ( $ c o u n t . T r i m ( ) ) "   |   T e e - O b j e c t   - A p p e n d   " $ E V 4 \ 1 0 - r o l l b a c k . t x t " 
 
 
 
 r e s p o n s e :   { " e r r o r " : { " c o d e " : " n o t _ f o u n d " , " m e s s a g e " : " U s e r s   n o t   f o u n d :   [ 9 9 9 9 9 9 9 9 - 9 9 9 9 - 4 9 9 9 - 8 9 9 9 - 9 9 9 9 9 9 9 9 9 9 9 9 ] " , " r e q u e s t _ i d " : " a 5 0 3 4 9 3 b - 8 e 8 f - 4 2 b 5 - a 9 2 f - 7 8 1 7 7 a 5 6 5 5 b 7 " } }   H T T P   4 0 4 
 
 c h a t s   w i t h   t h i s   t i t l e :   0   
 
 