Skip to content

Instantly share code, notes, and snippets.

@bdunogier
Created May 16, 2014 12:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdunogier/f4247c30080c30ae5e7d to your computer and use it in GitHub Desktop.
Save bdunogier/f4247c30080c30ae5e7d to your computer and use it in GitHub Desktop.
REST: Setting username & password for a host, for use with curl -n or HTTPie
# use admin/publish as the login/password for net requests to localhost
machine localhost login admin password publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment