
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
postcli-dev
Advanced tools
��#� �P�o�s�t�C�L�I� �-� �T�e�r�m�i�n�a�l� �A�P�I� �R�e�q�u�e�s�t� �T�e�s�t�e�r�
�
�
�
�#�#� �P�r�o�j�e�c�t� �O�v�e�r�v�i�e�w�
�
�
�
���P�o�s�t�C�L�I��� �i�s� �a� �l�i�g�h�t�w�e�i�g�h�t�,� �a�d�v�a�n�c�e�d� �C�L�I� �t�o�o�l� �f�o�r� �t�e�s�t�i�n�g� �A�P�I�s� �d�i�r�e�c�t�l�y� �f�r�o�m� �t�h�e� �t�e�r�m�i�n�a�l�,� �p�r�o�v�i�d�i�n�g� �a�n� �i�n�t�e�r�a�c�t�i�v�e� �a�n�d� �v�i�s�u�a�l�l�y� �a�p�p�e�a�l�i�n�g� �e�x�p�e�r�i�e�n�c�e� �i�n�s�p�i�r�e�d� �b�y� �P�o�s�t�m�a�n�.� �I�t� �s�u�p�p�o�r�t�s� �G�E�T�,� �P�O�S�T�,� �P�U�T�,� �D�E�L�E�T�E� �r�e�q�u�e�s�t�s�,� �e�n�v�i�r�o�n�m�e�n�t� �m�a�n�a�g�e�m�e�n�t�,� �w�o�r�k�f�l�o�w� �c�h�a�i�n�i�n�g�,� �h�i�s�t�o�r�y� �t�r�a�c�k�i�n�g�,� �a�n�d� �r�e�s�p�o�n�s�e� �f�o�r�m�a�t�t�i�n�g�.�
�
�
�
�-�-�-�
�
�
�
�#�#� �T�e�c�h� �S�t�a�c�k�
�
�
�
���C�o�r�e�:���
�
�
�
�� �N�o�d�e�.�j�s� �(�r�u�n�t�i�m�e�)�
�
�� �C�o�m�m�a�n�d�e�r�.�j�s� �(�m�u�l�t�i�-�c�o�m�m�a�n�d� �C�L�I�)�
�
�� �A�x�i�o�s� �(�H�T�T�P� �r�e�q�u�e�s�t�s�)�
�
�� �C�h�a�l�k� �(�P�o�s�t�m�a�n�-�t�h�e�m�e�d� �c�o�l�o�r� �s�t�y�l�i�n�g�)�
�
�� �O�r�a� �(�s�p�i�n�n�e�r�s� �f�o�r� �r�e�q�u�e�s�t�s�)�
�
�� �I�n�q�u�i�r�e�r�.�j�s� �(�i�n�t�e�r�a�c�t�i�v�e� �p�r�o�m�p�t�s�)�
�
�� �B�o�x�e�n� �(�b�o�x�e�d� �m�e�s�s�a�g�e�s� �i�n� �t�e�r�m�i�n�a�l�)�
�
�� �C�o�n�f� �(�s�t�o�r�e� �e�n�d�p�o�i�n�t�s�,� �e�n�v�s�,� �w�o�r�k�f�l�o�w�s�)�
�
�
�
���A�d�v�a�n�c�e�d� �F�e�a�t�u�r�e�s� �/� �E�x�t�r�a�s�:���
�
�
�
�� �L�i�s�t�r�2� �(�w�o�r�k�f�l�o�w� �t�a�s�k� �l�i�s�t�s�)�
�
�� �F�i�g�l�e�t� �(�A�S�C�I�I� �a�r�t� �b�a�n�n�e�r�s�)�
�
�� �c�l�i�-�t�a�b�l�e�3� �(�f�o�r�m�a�t�t�e�d� �t�a�b�l�e�s�)�
�
�� �N�o�d�e�-�c�a�c�h�e� �/� �L�o�w�d�b� �(�o�f�f�l�i�n�e� �r�e�q�u�e�s�t� �h�i�s�t�o�r�y�)�
�
�� �J�S�O�N�-�B�e�a�u�t�i�f�y� �/� �P�r�e�t�t�y�-�P�r�i�n�t� �(�f�o�r�m�a�t� �J�S�O�N� �r�e�s�p�o�n�s�e�s�)�
�
�
�
���C�o�l�o�r� �P�a�l�e�t�t�e� �(�P�o�s�t�m�a�n�-�i�n�s�p�i�r�e�d�)�:���
�
�
�
�|� �E�l�e�m�e�n�t� � � � � � � � � � � � � � � � � �|� �C�o�l�o�r� � � � � � � � � � � � � � � � �|�
�
�|� �-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-� �|� �-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-� �|�
�
�|� �G�E�T� �R�e�q�u�e�s�t� � � � � � � � � � � � � �|� �#�0�0�A�2�F�F� �(�b�l�u�e�)� � � � � � � �|�
�
�|� �P�O�S�T� �R�e�q�u�e�s�t� � � � � � � � � � � � �|� �#�F�F�6�C�3�7� �(�o�r�a�n�g�e�)� � � � � �|�
�
�|� �P�U�T� �R�e�q�u�e�s�t� � � � � � � � � � � � � �|� �#�F�F�C�A�3�6� �(�y�e�l�l�o�w�)� � � � � �|�
�
�|� �D�E�L�E�T�E� �R�e�q�u�e�s�t� � � � � � � � � � �|� �#�F�F�3�B�3�0� �(�r�e�d�)� � � � � � � � �|�
�
�|� �R�e�s�p�o�n�s�e� �S�t�a�t�u�s� �2�x�x� � � � � �|� �#�4�C�A�F�5�0� �(�g�r�e�e�n�)� � � � � � �|�
�
�|� �R�e�s�p�o�n�s�e� �S�t�a�t�u�s� �4�x�x�/�5�x�x� �|� �#�F�F�3�B�3�0� �(�r�e�d�)� � � � � � � � �|�
�
�|� �I�n�f�o� �/� �L�o�g�s� � � � � � � � � � � � � �|� �#�C�C�C�C�C�C� �(�l�i�g�h�t� �g�r�e�y�)� �|�
�
�|� �B�a�c�k�g�r�o�u�n�d� �/� �B�o�x� � � � � � � � �|� �#�1�E�1�E�1�E� �(�d�a�r�k� �g�r�e�y�)� � �|�
�
�
�
�-�-�-�
�
�
�
�#�#� �F�i�l�e� �S�t�r�u�c�t�u�r�e�
�
�
�
���� � �p�o�s�t�c�l�i�/� � �%�% �b�i�n�/� � �% � �%�% �p�o�s�t�c�l�i�.�j�s� � � � � � � � �#� �C�L�I� �e�n�t�r�y� �p�o�i�n�t� � �%�% �s�r�c�/� � �% � �%�% �c�o�m�m�a�n�d�s�/� � �% � �% � �%�% �g�e�t�.�j�s� � �% � �% � �%�% �p�o�s�t�.�j�s� � �% � �% � �%�% �p�u�t�.�j�s� � �% � �% � �%�% �d�e�l�e�t�e�.�j�s� � �% � �% � �%�% �s�a�v�e�.�j�s� � �% � �% � �%�% �l�i�s�t�.�j�s� � �% � �% � �%�% �r�e�m�o�v�e�.�j�s� � �% � �% � �%�% �e�n�v�.�j�s� � �% � �% � �%�% �w�o�r�k�f�l�o�w�.�j�s� � �% � �% � �%�% �h�i�s�t�o�r�y�.�j�s� � �% � �% � �%�% �s�t�a�t�s�.�j�s� � �% � �%�% �u�t�i�l�s�/� � �% � �% � �%�% �r�e�q�u�e�s�t�H�a�n�d�l�e�r�.�j�s� � �% � �% � �%�% �l�o�g�g�e�r�.�j�s� � �% � �% � �%�% �f�o�r�m�a�t�J�s�o�n�.�j�s� � �% � �% � �%�% �c�o�l�o�r�s�.�j�s� � �% � �% � �%�% �s�p�i�n�n�e�r�.�j�s� � �% � �%�% �c�o�n�f�i�g�/� � �% � � � � �%�% �c�o�n�f�.�j�s� � � � � � � � �#� �s�t�o�r�e� �s�a�v�e�d� �e�n�d�p�o�i�n�t�s�,� �e�n�v�s�,� �w�o�r�k�f�l�o�w�s� � �%�% �p�a�c�k�a�g�e�.�j�s�o�n� � �%�% �R�E�A�D�M�E�.�m�d� � ����
�
�
�
�-�-�-�
�
�
�
�#�#� �E�x�p�a�n�d�e�d� �P�h�a�s�e�d� �R�o�a�d�m�a�p�
�
�
�
�#�#�#� �P�h�a�s�e� �0�:� �P�r�o�j�e�c�t� �S�e�t�u�p� �&� �C�L�I� �S�c�a�f�f�o�l�d�i�n�g�
�
�
�
���G�o�a�l�:��� �P�r�e�p�a�r�e� �t�h�e� �p�r�o�j�e�c�t� �s�t�r�u�c�t�u�r�e�,� �C�L�I� �e�n�t�r�y�,� �a�n�d� �d�e�p�e�n�d�e�n�c�i�e�s�.�
�
�
�
�� �I�n�i�t�i�a�l�i�z�e� �N�o�d�e�.�j�s� �p�r�o�j�e�c�t�.�
�
�� �S�e�t� �u�p� �E�S� �M�o�d�u�l�e�s�.�
�
�� �I�n�s�t�a�l�l� �d�e�p�e�n�d�e�n�c�i�e�s�.�
�
�� �C�r�e�a�t�e� �C�L�I� �e�n�t�r�y� �w�i�t�h� ��#�!�/�u�s�r�/�b�i�n�/�e�n�v� �n�o�d�e��.�
�
�� �S�e�t� �u�p� �C�o�m�m�a�n�d�e�r�.�j�s� �w�i�t�h� �b�a�s�i�c� �v�e�r�s�i�o�n� �a�n�d� �h�e�l�p�.�
�
�� �A�d�d� �A�S�C�I�I� �b�a�n�n�e�r� �w�i�t�h� �F�i�g�l�e�t�.�
�
�� �E�s�t�a�b�l�i�s�h� �m�o�d�u�l�a�r� �f�i�l�e� �s�t�r�u�c�t�u�r�e�.�
�
�
�
�#�#�#� �P�h�a�s�e� �1�:� �C�o�r�e� �R�e�q�u�e�s�t� �C�o�m�m�a�n�d�s�
�
�
�
���G�o�a�l�:��� �I�m�p�l�e�m�e�n�t� �G�E�T�,� �P�O�S�T�,� �P�U�T�,� �D�E�L�E�T�E� �r�e�q�u�e�s�t�s�.�
�
�
�
�� �C�o�m�m�a�n�d�s�:� ��g�e�t��,� ��p�o�s�t��,� ��p�u�t��,� ��d�e�l�e�t�e��.�
�
�� �A�x�i�o�s� �f�o�r� �r�e�q�u�e�s�t�s�.�
�
�� �O�r�a� �s�p�i�n�n�e�r�s� �d�u�r�i�n�g� �r�e�q�u�e�s�t� �e�x�e�c�u�t�i�o�n�.�
�
�� �J�S�O�N� �r�e�s�p�o�n�s�e� �f�o�r�m�a�t�t�i�n�g�.�
�
�� �C�o�l�o�r�-�c�o�d�e�d� �m�e�t�h�o�d�s� �a�n�d� �s�t�a�t�u�s� �c�o�d�e�s�.�
�
�� �E�r�r�o�r� �h�a�n�d�l�i�n�g� �w�i�t�h� �B�o�x�e�n�.�
�
�
�
�#�#�#� �P�h�a�s�e� �2�:� �E�n�d�p�o�i�n�t� �&� �E�n�v�i�r�o�n�m�e�n�t� �M�a�n�a�g�e�m�e�n�t�
�
�
�
���G�o�a�l�:��� �S�a�v�e� �e�n�d�p�o�i�n�t�s� �a�n�d� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �f�o�r� �r�e�u�s�e�.�
�
�
�
�� �C�o�m�m�a�n�d�s�:� ��s�a�v�e��,� ��l�i�s�t��,� ��r�e�m�o�v�e��,� ��e�n�v� �s�e�t�/�g�e�t�/�l�i�s�t��.�
�
�� �C�o�n�f� �f�o�r� �p�e�r�s�i�s�t�e�n�t� �s�t�o�r�a�g�e�.�
�
�� �D�i�s�p�l�a�y� �i�n� �f�o�r�m�a�t�t�e�d� �t�a�b�l�e�s� �(�c�l�i�-�t�a�b�l�e�3�)�.�
�
�� �S�u�p�p�o�r�t� �d�y�n�a�m�i�c� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s�.�
�
�
�
�#�#�#� �P�h�a�s�e� �3�:� �H�i�s�t�o�r�y� �&� �R�e�s�p�o�n�s�e� �M�a�n�a�g�e�m�e�n�t�
�
�
�
���G�o�a�l�:��� �T�r�a�c�k� �a�l�l� �A�P�I� �r�e�q�u�e�s�t�s� �a�n�d� �s�a�v�e� �r�e�s�p�o�n�s�e�s�.�
�
�
�
�� �C�o�m�m�a�n�d�s�:� ��h�i�s�t�o�r�y��,� ��h�i�s�t�o�r�y� �u�s�e��,� ��r�e�s�p�o�n�s�e� �s�a�v�e��,� ��c�l�e�a�r��.�
�
�� �S�t�o�r�e� �t�i�m�e�s�t�a�m�p�,� �U�R�L�,� �m�e�t�h�o�d�,� �b�o�d�y�,� �s�t�a�t�u�s� �c�o�d�e�.�
�
�� �C�o�l�o�r�-�c�o�d�e�d� �t�a�b�l�e� �d�i�s�p�l�a�y�.�
�
�� �R�e�u�s�e� �p�r�e�v�i�o�u�s� �r�e�q�u�e�s�t�s�.�
�
�� �E�x�p�o�r�t� �r�e�s�p�o�n�s�e�s� �a�s� �J�S�O�N�.�
�
�
�
�#�#�#� �P�h�a�s�e� �4�:� �W�o�r�k�f�l�o�w� �C�r�e�a�t�i�o�n� �&� �C�h�a�i�n�i�n�g�
�
�
�
���G�o�a�l�:��� �C�h�a�i�n� �m�u�l�t�i�p�l�e� �r�e�q�u�e�s�t�s� �f�o�r� �c�o�m�p�l�e�x� �A�P�I� �w�o�r�k�f�l�o�w�s�.�
�
�
�
�� �C�o�m�m�a�n�d�s�:� ��w�o�r�k�f�l�o�w� �c�r�e�a�t�e��,� ��w�o�r�k�f�l�o�w� �s�a�v�e��,� ��w�o�r�k�f�l�o�w� �r�u�n��.�
�
�� �I�n�t�e�r�a�c�t�i�v�e� �w�o�r�k�f�l�o�w� �b�u�i�l�d�e�r� �(�I�n�q�u�i�r�e�r�.�j�s�)�.�
�
�� �S�e�q�u�e�n�t�i�a�l� �e�x�e�c�u�t�i�o�n� �w�i�t�h� �L�i�s�t�r�2�.�
�
�� �R�e�a�l�-�t�i�m�e� �r�e�s�p�o�n�s�e� �l�o�g�s� �f�o�r� �e�a�c�h� �s�t�e�p�.�
�
�� �S�u�p�p�o�r�t� �d�y�n�a�m�i�c� �d�e�p�e�n�d�e�n�c�i�e�s� �b�e�t�w�e�e�n� �r�e�q�u�e�s�t�s�.�
�
�
�
�#�#�#� �P�h�a�s�e� �5�:� �S�t�a�t�s�,� �L�o�g�s� �&� �T�e�r�m�i�n�a�l� �U�X�
�
�
�
���G�o�a�l�:��� �P�o�l�i�s�h� �t�e�r�m�i�n�a�l� �v�i�s�u�a�l�s� �a�n�d� �p�r�o�v�i�d�e� �a�n�a�l�y�t�i�c�s�.�
�
�
�
�� �C�o�m�m�a�n�d�s�:� ��s�t�a�t�s��,� ��l�o�g�s��,� ��c�l�e�a�r��.�
�
�� �B�o�x�e�n� �a�n�d� �c�l�i�-�t�a�b�l�e�3� �f�o�r� �d�i�s�p�l�a�y�.�
�
�� �J�S�O�N� �r�e�s�p�o�n�s�e� �e�n�h�a�n�c�e�m�e�n�t�s�:� �c�o�l�o�r�-�c�o�d�e�d� �a�n�d� �i�n�d�e�n�t�e�d�.�
�
�� �C�o�n�s�i�s�t�e�n�t� �P�o�s�t�m�a�n�-�t�h�e�m�e�d� �c�o�l�o�r�s�.�
�
�� �I�n�t�e�r�a�c�t�i�v�e� �s�e�l�e�c�t�i�o�n� �m�e�n�u�s� �f�o�r� �e�n�d�p�o�i�n�t�s�/�w�o�r�k�f�l�o�w�s�.�
�
�
�
�#�#�#� �P�h�a�s�e� �6�:� �F�i�n�a�l� �T�e�s�t�i�n�g� �&� �R�e�l�e�a�s�e�
�
�
�
���G�o�a�l�:��� �E�n�s�u�r�e� �s�t�a�b�i�l�i�t�y�,� �o�p�t�i�m�i�z�a�t�i�o�n�,� �a�n�d� �r�e�l�e�a�s�e� �r�e�a�d�i�n�e�s�s�.�
�
�
�
�� �T�e�s�t� �a�l�l� �c�o�m�m�a�n�d�s� �i�n� �m�u�l�t�i�p�l�e� �s�c�e�n�a�r�i�o�s�.�
�
�� �V�a�l�i�d�a�t�e� �e�d�g�e� �c�a�s�e�s�.�
�
�� �O�p�t�i�m�i�z�e� �s�p�i�n�n�e�r�s� �a�n�d� �J�S�O�N� �f�o�r�m�a�t�t�i�n�g�.�
�
�� �C�o�m�p�l�e�t�e� �R�E�A�D�M�E� �w�i�t�h� �e�x�a�m�p�l�e�s�.�
�
�� �P�u�b�l�i�s�h� �C�L�I� �l�o�c�a�l�l�y� �w�i�t�h� ��n�p�m� �l�i�n�k�� �a�n�d� �g�l�o�b�a�l�l�y� �w�i�t�h� ��n�p�m� �p�u�b�l�i�s�h��.�
�
�
�
�-�-�-�
�
�
�
�#�#� �C�L�I� �C�o�m�m�a�n�d�s� �(�e"1�0�)�
�
�
�
�1�.� ��p�o�s�t�c�l�i� �g�e�t� �<�u�r�l�>�� � �M�a�k�e� �G�E�T� �r�e�q�u�e�s�t�
�
�2�.� ��p�o�s�t�c�l�i� �p�o�s�t� �<�u�r�l�>�� � �M�a�k�e� �P�O�S�T� �r�e�q�u�e�s�t�
�
�3�.� ��p�o�s�t�c�l�i� �p�u�t� �<�u�r�l�>�� � �M�a�k�e� �P�U�T� �r�e�q�u�e�s�t�
�
�4�.� ��p�o�s�t�c�l�i� �d�e�l�e�t�e� �<�u�r�l�>�� � �M�a�k�e� �D�E�L�E�T�E� �r�e�q�u�e�s�t�
�
�5�.� ��p�o�s�t�c�l�i� �s�a�v�e� �<�n�a�m�e�>� �<�u�r�l�>�� � �S�a�v�e� �e�n�d�p�o�i�n�t�
�
�6�.� ��p�o�s�t�c�l�i� �l�i�s�t�� � �L�i�s�t� �s�a�v�e�d� �e�n�d�p�o�i�n�t�s�
�
�7�.� ��p�o�s�t�c�l�i� �r�e�m�o�v�e� �<�n�a�m�e�>�� � �R�e�m�o�v�e� �e�n�d�p�o�i�n�t�
�
�8�.� ��p�o�s�t�c�l�i� �e�n�v� �s�e�t� �<�k�e�y�>� �<�v�a�l�u�e�>�� � �S�e�t� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�
�
�9�.� ��p�o�s�t�c�l�i� �e�n�v� �g�e�t� �<�k�e�y�>�� � �G�e�t� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�
�
�1�0�.� ��p�o�s�t�c�l�i� �e�n�v� �l�i�s�t�� � �L�i�s�t� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s�
�
�1�1�.� ��p�o�s�t�c�l�i� �w�o�r�k�f�l�o�w� �c�r�e�a�t�e�� � �C�r�e�a�t�e� �a� �c�h�a�i�n�e�d� �r�e�q�u�e�s�t� �w�o�r�k�f�l�o�w�
�
�1�2�.� ��p�o�s�t�c�l�i� �w�o�r�k�f�l�o�w� �r�u�n� �<�f�i�l�e�>�� � �R�u�n� �s�a�v�e�d� �w�o�r�k�f�l�o�w�
�
�1�3�.� ��p�o�s�t�c�l�i� �w�o�r�k�f�l�o�w� �s�a�v�e� �<�n�a�m�e�>�� � �S�a�v�e� �w�o�r�k�f�l�o�w�
�
�1�4�.� ��p�o�s�t�c�l�i� �h�i�s�t�o�r�y�� � �S�h�o�w� �r�e�q�u�e�s�t� �h�i�s�t�o�r�y�
�
�1�5�.� ��p�o�s�t�c�l�i� �h�i�s�t�o�r�y� �u�s�e� �<�i�d�>�� � �R�e�u�s�e� �a� �r�e�q�u�e�s�t� �f�r�o�m� �h�i�s�t�o�r�y�
�
�1�6�.� ��p�o�s�t�c�l�i� �r�e�s�p�o�n�s�e� �s�a�v�e� �<�n�a�m�e�>�� � �S�a�v�e� �r�e�s�p�o�n�s�e� �t�o� �f�i�l�e�
�
�1�7�.� ��p�o�s�t�c�l�i� �s�t�a�t�s�� � �S�h�o�w� �r�e�q�u�e�s�t� �s�t�a�t�i�s�t�i�c�s�
�
�1�8�.� ��p�o�s�t�c�l�i� �l�o�g�s�� � �S�h�o�w� �d�e�t�a�i�l�e�d� �l�o�g�s�
�
�1�9�.� ��p�o�s�t�c�l�i� �c�l�e�a�r�� � �C�l�e�a�r� �h�i�s�t�o�r�y�/�l�o�g�s�
�
�
�
�-�-�-�
�
�
�
�#�#� �F�e�a�t�u�r�e�s� �&� �H�i�g�h�l�i�g�h�t�s�
�
�
�
�� �S�u�p�p�o�r�t�s� �G�E�T�,� �P�O�S�T�,� �P�U�T�,� �D�E�L�E�T�E� �r�e�q�u�e�s�t�s�
�
�� �S�a�v�e� �c�o�m�m�o�n� �e�n�d�p�o�i�n�t�s� �a�n�d� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s�
�
�� �J�S�O�N� �r�e�s�p�o�n�s�e� �f�o�r�m�a�t�t�i�n�g� �w�i�t�h� �P�o�s�t�m�a�n�-�t�h�e�m�e�d� �c�o�l�o�r�s�
�
�� �W�o�r�k�f�l�o�w� �c�r�e�a�t�i�o�n� �a�n�d� �c�h�a�i�n�i�n�g� �f�o�r� �c�o�m�p�l�e�x� �A�P�I� �t�e�s�t�i�n�g�
�
�� �H�i�s�t�o�r�y� �t�r�a�c�k�i�n�g� �a�n�d� �r�e�u�s�a�b�l�e� �r�e�q�u�e�s�t�s�
�
�� �T�e�r�m�i�n�a�l� �U�X�:� �s�p�i�n�n�e�r�s�,� �A�S�C�I�I� �b�a�n�n�e�r�s�,� �B�o�x�e�n� �b�o�x�e�s�,� �t�a�b�l�e�s�
�
�� �I�n�t�e�r�a�c�t�i�v�e� �C�L�I� �p�r�o�m�p�t�s� �w�i�t�h� �I�n�q�u�i�r�e�r�.�j�s�
�
�
�
�-�-�-�
�
�
�
�#�#� �G�o�a�l�s�
�
�
�
�� �D�e�l�i�v�e�r� �a� �f�u�l�l�-�f�e�a�t�u�r�e�d�,� �P�o�s�t�m�a�n�-�l�i�k�e� �e�x�p�e�r�i�e�n�c�e� �e�n�t�i�r�e�l�y� �i�n� �t�e�r�m�i�n�a�l�.�
�
�� �M�a�i�n�t�a�i�n� �a� �v�i�s�u�a�l�l�y� �a�p�p�e�a�l�i�n�g�,� �c�o�l�o�r�-�c�o�d�e�d� �i�n�t�e�r�f�a�c�e�.�
�
�� �P�r�o�v�i�d�e� �a�d�v�a�n�c�e�d� �w�o�r�k�f�l�o�w� �c�h�a�i�n�i�n�g� �a�n�d� �r�e�q�u�e�s�t� �m�a�n�a�g�e�m�e�n�t� �f�o�r� �d�e�v�e�l�o�p�e�r�s�.�
�
�� �B�u�i�l�d� �a� �p�r�o�f�e�s�s�i�o�n�a�l� �p�o�r�t�f�o�l�i�o� �p�r�o�j�e�c�t� �d�e�m�o�n�s�t�r�a�t�i�n�g� �C�L�I� �d�e�v�e�l�o�p�m�e�n�t�,� �N�o�d�e�.�j�s�,� �a�n�d� �A�P�I� �h�a�n�d�l�i�n�g�.�
�
�
�
�
�
�
�
�
�
�#� �P�o�s�t�C�L�I� �D�o�c�u�m�e�n�t�a�t�i�o�n�
�
�
�
�P�o�s�t�C�L�I� �i�s� �a� �p�o�w�e�r�f�u�l� �C�L�I� �t�o�o�l� �t�o� �s�e�n�d� �H�T�T�P� �r�e�q�u�e�s�t�s�,� �m�a�n�a�g�e� �e�n�d�p�o�i�n�t�s�,� �a�n�d� �h�a�n�d�l�e� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �s�i�m�i�l�a�r� �t�o� �P�o�s�t�m�a�n�.�
�
�
�
�-�-�-�
�
�
�
�#�#� �H�T�T�P� �R�e�q�u�e�s�t�s�
�
�
�
�|� �C�o�m�m�a�n�d� �|� �D�e�s�c�r�i�p�t�i�o�n� �|� �E�x�a�m�p�l�e� �|�
�
�|�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�|�
�
�|� �G�E�T� �|� �S�e�n�d� �a� �G�E�T� �r�e�q�u�e�s�t� �t�o� �a� �U�R�L� �o�r� �s�a�v�e�d� �e�n�d�p�o�i�n�t� �|� ��p�o�s�t�c�l�i� �G�E�T� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�/�1�� �<�b�r�>� ��p�o�s�t�c�l�i� �G�E�T� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�/�1�� �|�
�
�|� �P�O�S�T� �|� �S�e�n�d� �a� �P�O�S�T� �r�e�q�u�e�s�t� �w�i�t�h� �J�S�O�N�,� �o�b�j�e�c�t�s�,� �a�r�r�a�y�s�,� �o�r� �f�i�l�e� �u�p�l�o�a�d�s� �|� ��p�o�s�t�c�l�i� �P�O�S�T� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�� �<�b�r�>� ��p�o�s�t�c�l�i� �P�O�S�T� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�� �|�
�
�|� �P�U�T� �|� �S�e�n�d� �a� �P�U�T� �r�e�q�u�e�s�t� �w�i�t�h� �J�S�O�N�,� �o�b�j�e�c�t�s�,� �a�r�r�a�y�s�,� �o�r� �f�i�l�e� �u�p�l�o�a�d�s� �|� ��p�o�s�t�c�l�i� �P�U�T� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�/�1�� �<�b�r�>� ��p�o�s�t�c�l�i� �P�U�T� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�/�1�� �|�
�
�|� �P�A�T�C�H� �|� �S�e�n�d� �a� �P�A�T�C�H� �r�e�q�u�e�s�t� �w�i�t�h� �J�S�O�N�,� �o�b�j�e�c�t�s�,� �a�r�r�a�y�s�,� �o�r� �f�i�l�e� �u�p�l�o�a�d�s� �|� ��p�o�s�t�c�l�i� �P�A�T�C�H� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�/�1�� �<�b�r�>� ��p�o�s�t�c�l�i� �P�A�T�C�H� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�/�1�� �|�
�
�|� �D�E�L�E�T�E� �|� �S�e�n�d� �a� �D�E�L�E�T�E� �r�e�q�u�e�s�t� �|� ��p�o�s�t�c�l�i� �D�E�L�E�T�E� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�/�1�� �<�b�r�>� ��p�o�s�t�c�l�i� �D�E�L�E�T�E� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�/�1�� �|�
�
�|� �H�E�A�D� �|� �S�e�n�d� �a� �H�E�A�D� �r�e�q�u�e�s�t� �t�o� �g�e�t� �h�e�a�d�e�r�s� �o�n�l�y� �|� ��p�o�s�t�c�l�i� �H�E�A�D� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�� �<�b�r�>� ��p�o�s�t�c�l�i� �H�E�A�D� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�� �|�
�
�|� �O�P�T�I�O�N�S� �|� �S�e�n�d� �a�n� �O�P�T�I�O�N�S� �r�e�q�u�e�s�t� �|� ��p�o�s�t�c�l�i� �O�P�T�I�O�N�S� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�/�p�o�s�t�s�� �<�b�r�>� ��p�o�s�t�c�l�i� �O�P�T�I�O�N�S� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�� �|�
�
�
�
�-�-�-�
�
�
�
�#�#� �E�n�d�p�o�i�n�t� �M�a�n�a�g�e�m�e�n�t�
�
�
�
�Y�o�u� �c�a�n� �s�a�v�e�,� �l�i�s�t�,� �a�n�d� �r�e�m�o�v�e� �n�a�m�e�d� �e�n�d�p�o�i�n�t�s� �f�o�r� �r�e�u�s�e�.�
�
�
�
�|� �C�o�m�m�a�n�d� �|� �D�e�s�c�r�i�p�t�i�o�n� �|� �E�x�a�m�p�l�e� �|�
�
�|�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�|�
�
�|� �s�a�v�e� �|� �S�a�v�e� �a�n� �e�n�d�p�o�i�n�t� �w�i�t�h� �a� �f�r�i�e�n�d�l�y� �n�a�m�e� �a�n�d� �H�T�T�P� �m�e�t�h�o�d� �|� ��p�o�s�t�c�l�i� �s�a�v�e� �g�e�t�P�o�s�t�s� �G�E�T� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�� �|�
�
�|� �l�i�s�t� �|� �L�i�s�t� �a�l�l� �s�a�v�e�d� �e�n�d�p�o�i�n�t�s� �|� ��p�o�s�t�c�l�i� �l�i�s�t�� �|�
�
�|� �r�e�m�o�v�e� �|� �R�e�m�o�v�e� �a� �s�a�v�e�d� �e�n�d�p�o�i�n�t� �b�y� �n�a�m�e� �|� ��p�o�s�t�c�l�i� �r�e�m�o�v�e� �g�e�t�P�o�s�t�s�� �|�
�
�
�
�>� �S�a�v�e�d� �e�n�d�p�o�i�n�t�s� �n�o�w� �s�t�o�r�e� �b�o�t�h� �t�h�e� ���m�e�t�h�o�d��� �a�n�d� �t�h�e� ���U�R�L���.�
�
�
�
�-�-�-�
�
�
�
�#�#� �E�n�v�i�r�o�n�m�e�n�t� �V�a�r�i�a�b�l�e�s�
�
�
�
�M�a�n�a�g�e� �d�y�n�a�m�i�c� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �w�i�t�h� �e�a�s�y� ��{�{�V�A�R�}�}�� �s�u�b�s�t�i�t�u�t�i�o�n�.�
�
�
�
�|� �C�o�m�m�a�n�d� �|� �D�e�s�c�r�i�p�t�i�o�n� �|� �E�x�a�m�p�l�e� �|�
�
�|�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�|�
�
�|� �e�n�v� �s�e�t� �|� �S�e�t� �o�r� �u�p�d�a�t�e� �a�n� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e� �|� ��p�o�s�t�c�l�i� �e�n�v� �s�e�t� �B�A�S�E�U�R�L� �h�t�t�p�s�:�/�/�j�s�o�n�p�l�a�c�e�h�o�l�d�e�r�.�t�y�p�i�c�o�d�e�.�c�o�m�� �|�
�
�|� �e�n�v� �g�e�t� �|� �G�e�t� �v�a�l�u�e� �o�f� �a� �v�a�r�i�a�b�l�e� �|� ��p�o�s�t�c�l�i� �e�n�v� �g�e�t� �B�A�S�E�U�R�L�� �|�
�
�|� �e�n�v� �l�i�s�t� �|� �L�i�s�t� �a�l�l� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �|� ��p�o�s�t�c�l�i� �e�n�v� �l�i�s�t�� �|�
�
�|� �e�n�v� �r�e�m�o�v�e� �|� �R�e�m�o�v�e� �a�n� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e� �|� ��p�o�s�t�c�l�i� �e�n�v� �r�e�m�o�v�e� �B�A�S�E�U�R�L�� �|�
�
�
�
�>� �Y�o�u� �c�a�n� �u�s�e� �e�n�v�i�r�o�n�m�e�n�t� �v�a�r�i�a�b�l�e�s� �i�n� �a�n�y� �r�e�q�u�e�s�t� �U�R�L�:� � �
�
�>� �E�x�a�m�p�l�e�:� ��p�o�s�t�c�l�i� �G�E�T� �{�{�B�A�S�E�U�R�L�}�}�/�p�o�s�t�s�/�1�� � �
�
�
�
�-�-�-�
�
�#� �=�R� �P�o�s�t�C�L�I� �H�i�s�t�o�r�y� �&� �R�e�s�p�o�n�s�e� �C�o�m�m�a�n�d�s�
�
�
�
�T�h�i�s� �d�o�c�u�m�e�n�t� �l�i�s�t�s� �a�l�l� �c�o�m�m�a�n�d�s� �r�e�l�a�t�e�d� �t�o� ���h�i�s�t�o�r�y� �t�r�a�c�k�i�n�g��� �a�n�d� ���r�e�s�p�o�n�s�e� �m�a�n�a�g�e�m�e�n�t��*� �i�n� �P�o�s�t�C�L�I�.�
�
�
�
�-�-�-�
�
�
�
�#�#� �H�i�s�t�o�r�y� �C�o�m�m�a�n�d�s�
�
�
�
�|� �C�o�m�m�a�n�d� �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|�
�
�|� ��p�o�s�t�c�l�i� �h�i�s�t�o�r�y�� �|� �V�i�e�w� �a�l�l� �A�P�I� �r�e�q�u�e�s�t� �h�i�s�t�o�r�y� �i�n� �a� �c�o�l�o�r�-�c�o�d�e�d� �t�a�b�l�e�.� �|�
�
�|� ��p�o�s�t�c�l�i� �h�i�s�t�o�r�y� �u�s�e� �<�i�n�d�e�x�>�� �|� �R�e�u�s�e� �a� �p�r�e�v�i�o�u�s� �r�e�q�u�e�s�t� �b�y� �i�t�s� �i�n�d�e�x� �i�n� �t�h�e� �h�i�s�t�o�r�y�.� �|�
�
�|� ��p�o�s�t�c�l�i� �h�i�s�t�o�r�y� �c�l�e�a�r�� �|� �C�l�e�a�r� �a�l�l� �s�t�o�r�e�d� �r�e�q�u�e�s�t� �h�i�s�t�o�r�y�.� �|�
�
�|� ��p�o�s�t�c�l�i� �r�e�p�l�a�y� �s�r�c�/�r�e�s�p�o�n�s�e�s�/�a�u�t�h�/�l�o�g�i�n�.�j�s�o�n�� �|� �R�e�p�l�a�y� �t�h�e� �r�e�q� �.� �|�
�
�#�#�#� �E�x�a�m�p�l�e� �U�s�a�g�e�
�
�
�
����b�a�s�h� � �#� �V�i�e�w� �h�i�s�t�o�r�y� � �p�o�s�t�c�l�i� �h�i�s�t�o�r�y� � � � �#� �R�e�u�s�e� �t�h�e� �f�i�r�s�t� �r�e�q�u�e�s�t� � �p�o�s�t�c�l�i� �h�i�s�t�o�r�y� �u�s�e� �0� � � � �#� �C�l�e�a�r� �a�l�l� �h�i�s�t�o�r�y� � �p�o�s�t�c�l�i� �h�i�s�t�o�r�y� �c�l�e�a�r� � �#� �S�a�v�e� �r�e�s�p�o�n�s�e� �o�f� �t�h�e� �f�i�r�s�t� �r�e�q�u�e�s�t� � �p�o�s�t�c�l�i� �r�e�s�p�o�n�s�e� �s�a�v�e� �0� �f�i�r�s�t�_�r�e�s�p�o�n�s�e� � �#� �R�e�p�l�a�y� �t�h�e� �r�e�q� �.� � � �p�o�s�t�c�l�i� �r�e�p�l�a�y� �s�r�c�/�r�e�s�p�o�n�s�e�s�/�a�u�t�h�/�l�o�g�i�n�.�j�s�o�n� � � � � � � � �#�#� �D�a�t�a� �I�n�p�u�t� �f�o�r� �P�O�S�T�,� �P�U�T�,� �P�A�T�C�H� � � � �-� �S�u�p�p�o�r�t�s� �t�e�x�t� �f�i�e�l�d�s�,� �J�S�O�N� �o�b�j�e�c�t�s�,� �a�r�r�a�y�s�,� �a�n�d� �f�i�l�e� �u�p�l�o�a�d�s�.� � �-� �F�i�l�e� �p�r�e�f�i�x�:� ��f�i�l�e�:�� � � � � � �E�x�a�m�p�l�e�:� � � � ����b�a�s�h�
�
� � �p�o�s�t�c�l�i� �P�O�S�T� �{�{�B�A�S�E�U�R�L�}�}�/�u�p�l�o�a�d�
�
�
FAQs
PostCLI - Terminal API Request Tester
The npm package postcli-dev receives a total of 1 weekly downloads. As such, postcli-dev popularity was classified as not popular.
We found that postcli-dev demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.