NTLM auth plugin for httpie.
httpie-ntlm的Python项目详细描述
用于HTTPie的ntlm身份验证插件。
安装
$ pip install httpie-ntlm
现在应该可以在$ http --help输出中的--auth-type下看到ntlm。
用法
$ http --auth-type=ntlm --auth='domain\\username:password' example.org
您也可以使用HTTPie sessions:
# Create session $ http --session=logged-in --auth-type=ntlm --auth='domain\\username:password' example.org # Re-use auth $ http --session=logged-in POST example.org hello=world