��Ո�ߢ�}�B�< `�# �UI�Bj�-��^�r��қ�'�lܓj�3P.�9+wLCc�nI赭j�����U{yu�蔥�����|�H� *�s�^}懮*�`�!0,����]���=���iy���6�bc��5?w�sB����,�� �� JAtf�67��[��PIv���!��Ǖ�bexa-� ^"o$���:A����1��r��t�x�绯F"�%�?�N܁?��G�6ΰ�5FL��'�Ɠ�0�W�W�t�>\Y6� �����Y`�ybz_%�e :Eso!���G8DJ�\�2 �y��p �H`�#&R���0AJƍ.�XujO�c��2,���t<0o|"�F#�]�� N6�QZM;ܿ�&�P\ ���uh?���X�g�)�':�G�����1A4�A$ך���=�37��:�ˣ��$����B��F���܈z�E����l|���.{��V���(��CI'����o�p� �����8�/�̵t��"�8ae��$��Ԓ��nBwOSk�5�,�8 ؓ7ݪ������a������sFf��J��/��}|��y4����,���i~W3�3( !!wB���l�A�K���k�M��J�E��@��~0�J:P'�#*ձ����oS,�֛b��� y�?�{h��^f���Q�"� R�jP���j�7�Uf�����>��T�'ӈB���ȓ����K�S4�0 u?}�o0k���HZࣆ ��7�{��O#J U����; �D��:K5_��S���3^��yQl !�S'[#6L�"_�ȉ^O�J�R%�~_�Z��%~&��9ч�熦Θ�v׏�H��W�a����cg}sb�H��e���(J�o�j���v֤���q�� �̵�xF�c{ ��N%.�ٹמ���IM ��bL���O�9_�z9_�rJ� jIY���l�-��Q��7z� IV�j� �@ ��of����~�5ҳp�Z@���Q��)l��%�Ӻ�B�v��BX*/����7jO�j��$��՚�اE\~�=i�i�C�u� �O����]V^EX4�g<��bWzN�� �3 ����5�����ժ;�0����u� B4�fb1��M�[&��5�}A(*�vM����՟c���������d�IS�6u�zxJM(�� ���$A*7� t�ID���P"�`#\����[��ڎ%�O��{-�4�� &3b:ĺX���f.Vw��^�Ѣ'�!���UT����8`��˘��b���iB��� kk�\�ӧW�������d�аI���;J@���s��L���J����í.ѣn�-U�i��E(S޳Nه�I�}�2��������v�Z��""���f�|���r�I�p�皝J 넦�Qnh��!{HĜ��9����jt�@x�DCy��5����� ��:��:mB��6B��.�M` �d �xH�6戲���,��9��H�2;7�ihˢ]���cG�B,c~��W��x�,���xUڋ~ �څ�c�3��IL��*��;�������� �l*)u�P��,��������T���tC�X��G4�M����s�aR���kxj��C�s�����g\�8�oe/\/n���àn��cA���[��8Y��!�dl�;c+��o��@c3J�&��̆(�a D>]��݋��)n0G�爻8���� ���?,ԃ��qk�'���Fh��������U�a����g���`r]MȪZ��S΋5]7�(�= 6�𼹶�JR���X����H��"�N�ذDh��d�������nξ.�8�^��&�j���- ��85�V�!���)�j ���y��mn}�)}R%�$��A�n]fA4_q� �2�Z���n�+��1�Z^\�!�=5���s;* ���l*#!� �o(���&9Q �K_B���2���4�{t��6(Û�!�'i@E��`����L�����,S���NGda��?�~�:O�'J>+_���fz?� ��~+��/$��\����ĽCʤ�"����d�[�97I��x�����:4��t��}��r�S��x=�~H�"9��D ^�~{۳��w�$H�u�eu��o����� �� L/��{��gr�������q3�byD��n�4$�5��w5�d؄U��_W�y'� ���YIK�lp�����s4�`d��h}fx}�0q��(K#�)��.�?nE�����qz�*�:c���.���pY�����0��BeM�с�Z�_U�n;Q%:c1���V=&l1��[n��X�r�3��I�G��N����j�V}_�R�ph%W��a���Y��NΓ�p�۝�]��]��m�&9}G9��Ve��I���h[�πAtL �2��Yx�����[g?�TT'dXWi�?>�0~�{`����5|/���I�g�O�KZ��N"?Z��� ���5���t$3�}8��l��2�-���3�D��0��G?a��T^�� Єt���D���ſ�x|S������b�cؚt|�?�[0%F�BF5z���] Z���t2��ԓA�pH�'!��M�)���اKޟ<����O��i۩��>|-��J6������:�g�W�:�� �A M�����nYz@�"V>r��(���µ���ނ|Pn��=�D�����ꂵU���ѓ�Rn#�xIWDM�ER�[��Ȩt��i��#�H$X�|��Gϐ�c���}� ���4#����&��GY�{{�!���u�1�=m�u�Z�Q���WL��|�RʹP��Q�|�B_�����l�|�@�>q%�?���+\���ڔ�%�`�v�_��� �� J䮴�H�Bšy�����AP�� ����i|�� y��S-י��R������?@J�+��Mt5{g���R�TU��QKl�); �g%0d 6�N\���>���f��F:����i��yIY��?w�%���K}����dC�B��/}S�[@�0N������x�A�K���%��_�-V_+������f�$q����\���>X)��cIv��Y ѦqA���K>��灌qzʲ�����I����}�?sh�>У��4����R��=����j��jO��R�ڟk܎@E���3�� V̟ ����;-��#�_�f����WFY vq-�}��,sG0�>n7��5X��=�8Qq �쇷(���{Rge>�ʄe���q��E�ѩ�r�#�P8�4I��^��ԐBNz�����7�o-b���@T3$0��jeX�v�p��0?� ;#�.P>�}�C���e�p�IIϠ95���n�l��U�h��(x�uLUI�J�����BŒ� ��.!�G�� ǀ\Yg�0 I� b�n(���uYX1'  -WK�<�(��}9��� ��R=3�E���>+���J��ɕ:�s%H� ��&iwKg�J�q�`�T�_�^.Pj�P�J챱�͉��n��h��#�\�)>�`�ī��"�)��Q����Le�LQ�����N�$�1�`ݨ�� ��.�K�[nΝf4Q@ݓܦH(ua|E��%��4� �Ndmi�&���HM�=�[Y�Ly�ܯf��t-#]W4�k���?�� ����s�*I6 �%Y�'1\+��l#wHT��܂uCDt���h�Ͽ�>��;f�u�=zjR��F��T��|�+�R����ZIZP:!"�0=��Z��7['t!r�� ��A{�S`���k){I5��ԏ?��N;s�I6�z��Q���Թ�\�Ј&h�A�׻�+�!^�6�7�Q��2��&`��q/��� N�Z|�+OL'�`��1�d��u���H������c M�)�@���%�ĵ^+��]p, a�C��_��C_y+�4�x)5!�� ���!�����W����o�� 8�*��a�I����)�<�[ə�e�H�K�؟��f���8.'�sUaĚTs��:�%��߂Dl�"�@���4/sN ��Bl ���\������k�!/,���({#`���I�� ��/G�����"�/�a'��4�H�ģx������:�L����c!�����4lX���Q{��3��v����eg���򦕖�XQ3������I7�o�d�c���S�<��ÿ�C���̼ ���؆�=)h2��49�rЪ��B�O����<(��*:����J$5 ��l�E�k�p�����Mj���iŔ�m�}�O��(=���o�vT���\v�7�-�`�#;��ädj���Y8�n���o>�2%�)��L�Z T�`��W�i�u��<�Cx����qA! �+����?� �Y��V���!�j�f�������3�9����S�h�Hc��g%�yIRTen�< �D��ǚ�m�(��A5�H]:m ��\9�o_�@�.ʘ2e�������FP��"��̄��tݑW�cO��̗M/K�I_��jɹY�Wi��r5�|pԎ��=�=�&�����Z��խq��ۅ8���``�LC�� qu��H�tөzز�׳�oL���_ ���Y bb}�=��S�|A�8�% U�%5���{�A�yKU�x�P�*����t4�|Γ�i^�0�U����!G��堺�Ը�4v�� ����tYO܃���И��JN�q�\��:&XO[��.[�#�Џ6�ߦJ�R����چBZy���_,�ߊS";0���b����{ 8�濙3\�8�Q����o^�W(6���A�ɓOW�3��s�>B�pq-�O.ՆG�21��:Mi�?G7� ek��EV�����&�U����'� z���f,���G{��vM�n�K��6�踟�[�1��]��0�@Z�k����Ŭ�g|�U��"�I}�a>X�hހݾ�,'�ӝڵ�|J�ޚ�=���D��Z@�0)���}0������%�|0$h�5����&a��K�kso�_SU���[ �>d��Z���J�N3yPa��f��K��S���W��u��Z�t#��I�~μ�t(��* '|'��q�1��a������raNcϽW�\u�N��2������� �P����,v���FYɞ.Xo���}��:��֋���C�J�S1G�>'S��� t>q{���T��Զc�Y���BA�$o�V���¶ ~ wo���<��#��?���]n�^92~�7z���W��0VU����AUW�Gڼ����9L�@(��z��ƒ���)g����E�(b���] �)*A'sZzL�$-�JM� Z~15�9��=�R������E�/z����M���k�#�1��O�A�{�%���@2-�3���&fd�o^��\� 猅�b��׼~�`rO@������ٮ��ƙo(ӫ�l7���w�����=�Ô@'�I�R��Z?����ܐd��^�{���+�������h;ϱ�g����~�c�ׄ���1Կ�sֹS���7�\�����aJlu�����*6�S� ��S�W� ���#k͘oA��u ,%�ќ�;�@I�����ے�p�����w͒���k���Z�{/�1�Q��`t/r��Ɩ,�q�|U�\u�1�������:�f���dJ�k5Q����^ f��ʨ����A� �� (�k$�Q�m�P�)��7�*t�"R`Z����D����u,�'�2��I�֥�����b���PN�I ��D�EWٝʊ�>�E����S�(B���du�p����Z�ݥHѠ.�y��K�>��E՛��o �c�,�$�OA�2L��E�k�D����*�-nW0J�PE��O f]s\;���� `�x���TU�_N�w�A��k�fb#��]R�a�� �B<� �Gn��ö��5�#C� U�Nj~���/�N~�K��1R�%�XO�F�E/Y������о�e2� 3�&�� ���!�d� �\�8�� ػ?�x�P����:�za���7:'��G._�9�}�Fxy�T���P������ޭKU'�a���%��@�oV��C!�� 2̾�@�|P���H���{HJ��%���X�Uۿ����� ^�2U �P�K~;"� ��NR����yH>�|����Ek��m�W��;�K�s}��à.N����nFD��ۅi�W�bB�@8��>���U�m�֠��rvbƟ�25�덎���v���M��չj��4׸�Ѯ��ig���p�LR����{�� �5v�\�9�$]4SV��FW �lX�RP�k���{�4���@�f?f�@�����DZro���D���)g����g�1��m��������8}�x'�����j����UI�d��Ѐ�&��B��O8oA�2ոׁ.���>�8��&�ۿ�H�>Y����R,އ����Ԛ2 �:D���Q�%3 Q��G�>�(���@de�Hmn��;�y�=m�����tnCʫc��m���w��-��q{�V���d>��6��.��`y�CZfT��2��`�F�f�>��D� �G�X���T9D��\��-��;@▸�Y�����S��4�$��H��z*?ް^�Ey�]h~M�^O2��$/9w�V�a����>x�n*�U��o�k\M[���b��u�aΓ�ʠ���=���>'C�w 0�^���J�ٲ š��9/:|*r��.CZvy�K}N�@��SQɺ ���c�k��o��u��P�TZ;[_6U$F��Jo��4���Q���LMV89�����������'���&�M(^��TOu3�2�ő������[���[�H.�i��x ���T�hBM�o���<�\���Ɏ�S���YO@��U�БH~��γ�v�|�!��4��0�|���GN�׾$8{�hw?� '�]���9� �,��G��Qr������c��Fw;z���_u��&���}r�)f�����SK�ax�$������a9i�C���>�:{��LPH ^<�*�'�鲇oO���^P��}>E����H� ��.���#L4� �"��AT�y���+8d�vb�0#!4���򍤕�k�R��)t$�~�B��O笱�U�9\Ap��(u74N##ٿ��%j,��ҬG1Zb�BW�X��1B_�k�i�x�R�h����ڊ5����j��SM�Ѫ�m�ɺ=�%E��w�*y�������<���5cO��SiDC��Hc�5�-^�t@}0�]�D�:���/w�����v�]̣36 Cm�Y�~Eg[1��$�D|�[\���[�Y4� �L����Ӗ���CW���%��ZĘj7���@� b•���M`g�@9Y�d���v��((���U= ;M�Cf�%���(��dž�Fi���a��� _�7->#�$?>l"��m���'H�#�,x �.��Ceh�7�s�������Hp��@�K����K��nUH%�&R(f���&\`�)��6sI�]M&(�f��y!ok��x�4�#@f�ђ[�¹��]�Uua�X�@I[M[�6�蝳�8o@�#h���ij��%U�L��s��A��Q÷�rՒ/��F�4Nl�ƞ� �% �v�R)�2�����*���XK�a=>8�K΅�^X��'u���J� �,�!@T�) Jďs�$�~��9(P��;�P �q?�A\=��%r�?Et�LbkҥLJ�1.��?����}�N�/�[(�%zp���*V<¥ܚ� X����}���<�����~ʤEh�(ۋE �\\�:v���p>߃���q]Zʭ.����O`;~��QS66�y�q�ޝ0��8� ��m��p �}(���DŽ�âF�M�6B�� j�������ͬ�<�DR��Cif|`ʹls�˙ޫs���R_?�K�;����4C��P���^�J�r�hz:E9��N��U7�j���LC 4ZE�I-_)��Nm�^��?8 �%�򌒲q5TB�����Hه9 �`�MѫK�ӡ a�rH�d)�� z��E��勉�'��Ο�Jl��B����=�_b� �6f����1��#�1qҲ���85�o���Qu@�C��G ���m�� �f���Z�o�4E~�ȻJ�ҎN�m���IN��$[D�e#��H�:��i2䂴Hx��Q"���J��6��� � ��K9Qae�@Z�^�2W�ke�.�:!d�-���5��m?���i�?�������DQ��P��2�?rd��*B 8Fܹw3�;ĩ\�������(oU�Ka�}��d�� mA$$�?�)��͠Fn��j&&����v��f*;�M[��I��UΜ b�/�;�sc�qn��A%�� o��ruq���+�U����Ʀ;YŜ'�a�A�`��+z��������?醸� ���5�3&A��-���0�T���.��M��5�k�LTOH}�܅O_�?�"�X��J�A�L����2�R7.��X����v=�-"f���'T��`�ȩzae��~f'����׋)� `y���^ʻ�(��086H>����_ʙ�z)�/�j⇻��#�����&�4��]-K��FW�i`N;!v�-��(Ή+B���M�d��f�";l�xC6�r|=�sh�hvj�+��%��h�)�oc!�@�b��L>'*�ԃG�@a�w>spU�k�I���3,eL#&a���VI�L��ۡ�����=`�u�!������4��B�n�jpM ���嚝�M�kqrv̽v��9�b�����\�����#~���[S��q$�\�"����P}�W÷PdfvjL�M}1�4�\���P�z��^�>���)f.�M��+��?m%]�ӂ���e��4yP��-0xO��i�+ᘺ~���:B�hH��r�{���?o��� �{�J��¥�Y���k=I�×��v�L���k���B��Y����P+ BT ��88�LrL�;G}Q �@��?�,/�c�������Q��{E�q�v��9l�Y��ގV��|��W ]��� ����"����� � �F���s;��P{e�L]fޤam����¿��+N6��z<��x�_K�W�=�>���s�`s�Ca���Bc�k�x��9��\�;��qأ�(�F$W��s�'Jt������N#��p��e\��o;�R,y�%��^,4�?è��? v� �=�f��ާѹj1^�U�C��^^�E(��g�`�C�n�^�!����C�N��f���w`���Ts��?�mM����d��zM��� {w�\�a�E"��f�T/��I)I&����Ӱ�k@Ss� ��(�� G���0�FKR-��i�`�“�b���>��:�ɘ_��$��1Xl�:�Oce�`���� b�J��c6b-� ��lX��b�;p;��'�6�P�r�Q֍Pʹ��)��Q>m��Sv����F;��u��2��g4�zRd�#.�ҽ����E�I�@�(����aꝩ�VwA�vf����V�p�W~�/F��*,�F�8���9����`��]}lǿ�l ��ꯛ3�y�Di��KG8\ܦ[�%�=���l�(W�ij�$�K�6�����[j������R��E_���b��d*ކ�HpD^w�@<�a�b�=�����ghZ�LV�"�w���:�p"��� !� ��1uV�"d�pB���ݍȋρQ���=!ʁ>�]��5=��ۭ����#\� ���3yl����Lh�D%��4�O������=�����y<�Җ%�X `�7�L ��?Ɠu2%����b���|Om� [���'��A����"Uݦ�DR-6ߜy�3�8b����&tr�G�U5���4>�O׊��F�e���'Ġ(�**���1��>%K�>4�(n���k@Vg�jpzد���� �����6�?�d�̄��SB a��v �ISM��l8O���.U�Fi���T�t�RVG (]U�?^4�V��{�W�zE� ����s��P�F�$��FL�O�a�i���"�$UqGe� s�= *�|e��:�i��>����j�*;b�lߠ3?�I't��V��e��7o�� ���K�q�o;����VXWR�͍ �ۨ��e�4�l�8��v@ Dž3�s!�l�����d��(�w��/�,���=*�n����;6���{��|;�� Lk��`�,0�b�+��k�Z��k��p~'8[Y_嵫c���=��������׾2@Ջ{P$�N���ﱞ�_�3������G�|��u�����Q|p�N��:�*��@t�ʡ��UR���=qX��W���)5n�O�NK���;V+��i��t�!�{1=ɴ%��Whw�j�>V�3v��7�� ��.��\��p����c�ֿ�m7 a ��O�h=vU�]��bO�_�1�vjR���*�n�C�=2o��˛Q�ѽa3A�ƞ�!� �A������)L��C����zO��-����T�������zeÚ%�z���#�+kQ@��ѽdL��|S��V�n�T�e��T�MfH��U�����������l�O���P�et{H��B�v��띬�O'I���7�ֆI���}�.����$���M��;��ahel��B�[�i����_h��n��ZB� ܀>�J�%E0@�y���t��LN .��H˛n�m�����TE�{{5�� z3������/�����8Ⱥz��$����x~�?����/����a�-��������p�AY'�ׂD:3�Y���W�k�}o‡�=����гd� ~@K" M�7��!�҉�7B.�)(���:��W�"?ڸ�dZ�\���i�����>,�p]�uW ��/BbM�'�����cN�B T=�W���fx���x�򽼠�)Pw��)�eC�����7ټE�F�mEAr)/j�p4)ȉ!mf.�����r�er���h?�q�2e�~����2u��5*����9G���.�:H��ᡗ|~��*">�â"-���اF��������/�J�\q���c1����U����I{�.+n �&�5h��zK�WMځ�v^+H���m�1��� �b�L"X��a��y�փ%jjX�M|Up� N$�o4|*H���l��-D̠Br��;o f�6 ]k|���%��N���e�K�{| ��vO~I�=���1���_|-��g��#ahP$���6�D�S��sP��@�����!2õN�vy������RM�X�����x ��h��?m�<�jyG e�gJCr �2v�<�'D5��L���z���llT|���K.��S��K��E�½>�df��s!��̕�uwW�ľ�с=�b�fC��Iz�!��z�;�Q�3T�O�AQ�~������w�5��l��[5�BhOC�9�g�Nc� &L�M�3�0����/=Ñ�_��!�6?{�V6��xQ�. ϳ�� u�Em�m���gu~��(9HHs S�8L�a�T�[��!E�f���f/��';��}��(��A��oW��9g�߸'����tE��M�c�;Т��g6�=����~�!┋��"T��� �^��wk��&eG�6Ȁ����z'xZe�B��|��>B��J�����.�,�&L5 o�u�a)��� ����ߗ�-�& -�_�}i�()�V;A��X�񄩸Թ#��f������X�. V>%��F�w��,zx���HyO.\���P��?���U�CBn��m?H�Zk#�y[T ��Py��,9Ced_���'�ߑ�ٝ���`ioB�6�w����q�a<�d�,�!Y[����)bG��|�5��Y��C=]�i�Q�Y'f�?��6�M,#4 Ep�$��[� c\�&��sUB����5�l����?��^��4x������8�g�̔�*g �57�(XN���Xݵ��,�*�h?=��A�)E.�`d� ��ge�HEG`|ͻO]����So�O `�s������Wm��}v�x�]~�*�wǷR|���}�*`p�Icp�?��Bjcb�Op�iR9B�hΛ�_?�f�J�� 2� ��#=�67P\�?ի�h؆{��r��/��Qʸ����c��@5F g]�B��?w.*���08Wxb�YM��u s���'�7��N���E���Y�S�ʥS�gY�����K��iG<��M�տ�WU :'�� ͥ sEV��I �0����b�1���x^��Ò����g�4�豩V`�������wu&��Q�Ʂd�'�JZu ��+�M%%�9�K"�� Y=��%<��Pi���I�}��{��S@h�<_�N�FnX�r�mht��<�(��E�+g�HB��|:�/��K����, �{����=E0k���B@��8�A��!�AM[)g�X_��4@���;���|�����0�l�o�����b�86dS4bV^�\�!՝6�f��T���� 2�ͥ�Lj�!��B<%<�{�]�[f�f������%��W�� �k1��� �B�Xh��s�?y��cK��D�aQn �U ���!nlI��I+�O��f�U��D�ٿHNv��B�VOޝ����R��祭��ީ!R��P��T�.17�� t���j�v n�B@��@��[`�:��C �����bp�ﵜ;�]A�[����nB�rz��/�6�Yi��d������Ј�T�HD���+]R�Dg�3m9��!�vT�d�vz${s}R�h::ϐFހ&"�M?\����4RIs0f��O��x&�_K���U�՞v8��:I��x�ɲ٠��s� 0�� ?���`_U�f�G��.�nW��:j��1� W��aƉ��{ӽLޯ��ۗ�4|��KB &l�Hy�g�C�7ZC �UU�m�ʽ�ȓ܃�D�����Y�uL��#Cg�.n�|BX&�e�F���J��?Xp � ����t��8��&�{����ps9�F�ƿ�N��J� �ܖI��O�j��+Q��H�5�^�Ls�&���^�~;_d(mc����~����]�/�m��1��Βf/���}l�j�1�-1 00:00:01,170 --> 00:00:04,090 We've now got the ability to test our our API which is great. 2 00:00:04,100 --> 00:00:06,020 So now we can focus on our sign up. 3 00:00:06,060 --> 00:00:12,150 Once again remember the sign up route is going to be handling a request coming from our mobile device. 4 00:00:12,150 --> 00:00:14,120 That request is going to be a POST request. 5 00:00:14,240 --> 00:00:19,730 And in the body of the request we're going to have some information like a email that's gonna be the 6 00:00:19,740 --> 00:00:24,240 email that the user is trying to sign up with and probably a password that will be the password that 7 00:00:24,240 --> 00:00:26,900 the user wants to have it associated with their account. 8 00:00:26,910 --> 00:00:28,950 So maybe it's like my password. 9 00:00:29,040 --> 00:00:31,600 So again we need to make sure that we can take this object. 10 00:00:31,770 --> 00:00:37,180 Take the e-mail out of it and make sure that no one has signed up at that email before now inside this 11 00:00:37,180 --> 00:00:37,840 post request. 12 00:00:37,850 --> 00:00:39,480 This information will be delivered. 13 00:00:39,490 --> 00:00:41,480 Assume Jason information. 14 00:00:41,480 --> 00:00:45,770 By default our Express API does not understand how to receive Jason. 15 00:00:46,310 --> 00:00:51,440 So in this video we're going to add in the ability for the express API to automatically handle Jason 16 00:00:51,440 --> 00:00:54,340 information that's being sent to it to do so. 17 00:00:54,350 --> 00:01:00,500 On the flip back over my code editor and find my index dot J.S. file at the top we're going to import 18 00:01:00,950 --> 00:01:04,850 or require a little module called Body parser. 19 00:01:04,940 --> 00:01:11,870 So going to require in body dash parser body parser is a little helper library that will automatically 20 00:01:11,870 --> 00:01:16,840 pass information associated with the body property of incoming requests. 21 00:01:16,910 --> 00:01:22,750 So we essentially are going to use body parser to automatically associate or handle that incoming Jason 22 00:01:22,760 --> 00:01:28,880 information to do so right above my apt use auth roots right here. 23 00:01:28,880 --> 00:01:34,160 I'll say app dot use body parser dot Jason. 24 00:01:34,390 --> 00:01:40,960 And notice how I'm calling Jason as a function please make sure that you add in this line directly above 25 00:01:41,020 --> 00:01:47,770 all threats if we put in all the roots above then Express is going to first pass the request into our 26 00:01:47,830 --> 00:01:53,170 all throughout or our request handler before any of that Jason information gets passed. 27 00:01:53,230 --> 00:01:54,460 And that's definitely not what we want. 28 00:01:54,460 --> 00:01:59,560 We want to make sure that all the Jason information is passed first and then we run our request handler. 29 00:01:59,560 --> 00:02:04,290 So that's why we are putting the Roth roots called second OK. 30 00:02:04,320 --> 00:02:10,320 So once again body parser is going to pass some Jason data out of incoming requests once it passes that 31 00:02:10,320 --> 00:02:16,110 information it's going to associate or place all that information on the body property of this wreck 32 00:02:16,200 --> 00:02:17,760 object right here. 33 00:02:17,760 --> 00:02:25,580 So inside of my post request handle handler on output in a console log of wreck dot body so whatever 34 00:02:25,580 --> 00:02:29,630 information we're sending along with that post request should now be console logged out right they're 35 00:02:30,440 --> 00:02:33,630 not going to save both these files and we'll flip back over to postman. 36 00:02:33,680 --> 00:02:38,990 We'll figure out how to send some Jason data with a post request once we send that request we should 37 00:02:38,990 --> 00:02:44,400 then be able to flip over to our terminal and see that information appear all right so back inside of 38 00:02:44,400 --> 00:02:51,210 post man I've still got a post request being made to a local host 3000 slash sign up I'm going to first 39 00:02:51,330 --> 00:02:57,840 find the body tab right underneath the address bar I'm going to find the raw option so I can select 40 00:02:57,840 --> 00:03:02,910 raw right there and then I'll be presented with a little text editor so inside of here we can write 41 00:03:02,910 --> 00:03:06,230 out some Jason information to include with our request. 42 00:03:06,630 --> 00:03:12,510 So again whenever our phone is making a request to the API to sign up we want to send along an object 43 00:03:12,540 --> 00:03:14,280 that looks like that right there. 44 00:03:14,410 --> 00:03:17,370 So to write out that object as though it were Jason data. 45 00:03:17,610 --> 00:03:24,070 I'll put in a set of curly braces and I'll give it an email property inside of double quotes. 46 00:03:24,240 --> 00:03:25,670 I'll then write out some kind of test. 47 00:03:25,680 --> 00:03:30,720 Email and I'll put in a password property as well. 48 00:03:30,720 --> 00:03:34,840 Of like my password again this is Jason information. 49 00:03:34,870 --> 00:03:40,820 So make sure that you get double quotes around all these different terms now before we send this post 50 00:03:40,820 --> 00:03:41,210 request. 51 00:03:41,210 --> 00:03:43,290 There's one other thing we have to do very quickly. 52 00:03:43,430 --> 00:03:49,070 We have to make sure that this request will tell our server that it's got some Jason data attached to 53 00:03:49,070 --> 00:03:55,100 its body so to tell her Jason service mean to tell our server that there is some Jason information we're 54 00:03:55,100 --> 00:04:01,310 going to change over to that headers tab and we're gonna add in a new header here of content dash type 55 00:04:02,230 --> 00:04:08,540 and I'll set the value to application slash Jason and then gonna make sure that the checkbox to the 56 00:04:08,540 --> 00:04:11,450 left hand side is enabled like so. 57 00:04:11,450 --> 00:04:15,650 So this header right here is going to tell our server that there is some Jason data attached to the 58 00:04:15,740 --> 00:04:22,260 body of the request our body parser will then kick in pass that information and pretty much go from 59 00:04:22,260 --> 00:04:22,880 there. 60 00:04:23,400 --> 00:04:23,590 Okay. 61 00:04:23,730 --> 00:04:24,770 So we've got everything set up. 62 00:04:24,810 --> 00:04:26,210 Let's now test this out. 63 00:04:26,260 --> 00:04:28,030 I'm gonna click on that send button. 64 00:04:28,140 --> 00:04:30,260 It looks like the request was made successfully. 65 00:04:30,550 --> 00:04:34,980 So let's now flip over to our terminal and make sure that that console log was made with the information 66 00:04:34,980 --> 00:04:37,670 that we tried to attach to this request. 67 00:04:37,710 --> 00:04:38,980 So back at my terminal. 68 00:04:39,190 --> 00:04:42,600 Yup right there there we go there's the information that we sent along with the request. 69 00:04:42,600 --> 00:04:45,360 We've got our email and our password. 70 00:04:45,360 --> 00:04:46,550 Perfect. 71 00:04:46,710 --> 00:04:46,950 Okay. 72 00:04:46,980 --> 00:04:50,970 So we are now communicating in theory some information from our phone. 73 00:04:50,970 --> 00:04:55,740 Not really from the phone yet but we can imagine that we could eventually make an appropriate post request 74 00:04:56,220 --> 00:05:00,480 and we're getting that email and password that the user will want to use to sign up with inside of our 75 00:05:00,480 --> 00:05:01,350 Express API. 76 00:05:02,100 --> 00:05:07,710 So now we need to make sure that that email has never been used to sign up to an account before by issuing 77 00:05:07,710 --> 00:05:10,500 a query to our Mongo DB database. 78 00:05:10,500 --> 00:05:11,760 So let's take a quick pause right here. 79 00:05:11,820 --> 00:05:16,290 When we come back the next video we're going to figure out how we can set up our Mongo DB database to 80 00:05:16,290 --> 00:05:21,630 store some number of users with emails and passwords associated with them and issue a query against 81 00:05:21,630 --> 00:05:22,240 them. 82 00:05:22,440 --> 00:05:24,810 So quick pause and we'll take care of that in the next video.