GithubHelp home page GithubHelp logo

httpie-ntlm's Introduction

HTTPie
HTTPie CLI: human-friendly HTTP client for the API era

HTTPie for Desktop Twitter Chat

Docs Latest version Build Coverage PyPi downloads

HTTPie (pronounced aitch-tee-tee-pie) is a command-line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers. The http & https commands allow for creating and sending arbitrary HTTP requests. They use simple and natural syntax and provide formatted and colorized output.

HTTPie in action

We lost 54k GitHub stars

Please note we recently accidentally made this repo private for a moment, and GitHub deleted our community that took a decade to build. Read the full story here: https://httpie.io/blog/stardust

Getting started

Features

  • Expressive and intuitive syntax
  • Formatted and colorized terminal output
  • Built-in JSON support
  • Forms and file uploads
  • HTTPS, proxies, and authentication
  • Arbitrary request data
  • Custom headers
  • Persistent sessions
  • wget-like downloads

See all features →

Examples

Hello World:

https httpie.io/hello

Custom HTTP method, HTTP headers and JSON data:

http PUT pie.dev/put X-API-Token:123 name=John

Build and print a request without sending it using offline mode:

http --offline pie.dev/post hello=offline

Use GitHub API to post a comment on an Issue with authentication:

http -a USERNAME POST https://api.github.com/repos/httpie/cli/issues/83/comments body='HTTPie is awesome! :heart:'

See more examples →

Community & support

Contributing

Have a look through existing Issues and Pull Requests that you could help with. If you'd like to request a feature or report a bug, please create a GitHub Issue using one of the templates provided.

See contribution guide →

httpie-ntlm's People

Contributors

hickford avatar jkbrzt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

httpie-ntlm's Issues

Needs release

If you don't have requests-ntlm installed system-wide, always fails with "ModuleNotFoundError: No module named 'requests_ntlm'" since the plugin path (where requests-ntlm is installed) is not loaded when calling get_auth. This problem is fixed in the repo, but the PyPi package predates that.

Can't see the ntlm option under auth-type

After running pip install httpie-ntlm and running http --help i got the following:

Authentication:
--auth USER[:PASS], -a USER[:PASS]
If only the username is provided (-a username), HTTPie will prompt
for the password.

--auth-type {basic,digest}
The authentication mechanism to be used. Defaults to "basic".

  "basic": Basic HTTP auth
  "digest": Digest HTTP auth

Seems like i'm not able to see the ntlm option here.

Any thoughts?

Allow credentials from .netrc

HTTPie allows plugins to opt-in to loading credentials from .netrc. (httpie/cli#718) by setting netrc_parse = True in the plugin. I'd like to request that this plugin enable that feature, so that we can manage API credentials per-domain.

I have updated the packaging to be a little more slick. In case its needed, I am willing to help with the maintenance of the snap package at least for the first few months.

I have updated the packaging to be a little slicker. In case its needed, I am willing to help with the maintenance of the snap package at least for the first few months.

name: httpie
base: core18\
by-1/by-2
version: git
summary: HTTPie - a CLI, cURL-like tool for humans.
description: |
  HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client.
  Its goal is to make CLI interaction with web services as human-friendly as possible.
  It provides a simple http command that allows for sending arbitrary HTTP requests
  using a simple and natural syntax, and displays colorized output.

   HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.

grade: stable
confinement: strict

parts:
  httpie:
    plugin: python
    source: .
    override-prime: |
      snapcraftctl prime
      echo "Compiling pyc files..."
      $SNAPCRAFT_PART_INSTALL/usr/bin/python3 -m compileall -q $SNAPCRAFT_PRIME

apps:
  http:
    command: http
    plugs:
      - home
      - network

Originally posted by @om26er in httpie/cli#672 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.