Skip to content

Commit

Permalink
@ #4 | add faqs section, add JWT token loaded from a file question
Browse files Browse the repository at this point in the history
  • Loading branch information
hoatle committed Sep 29, 2015
1 parent 88b1319 commit 523e06d
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,22 @@ Usage
.. code-block:: bash
$ http --auth-type=jwt --auth='<token>:' example.org
Note: Remember to add `:` after the token.


FAQs
----

#. How to load JWT token from a file?

.. code-block:: bash
$ http --auth-type=jwt --auth=$(cat mytoken.txt): example.org
See: https://github.com/teracyhq/httpie-jwt-auth/issues/4


Discussions
-----------

Expand Down Expand Up @@ -54,21 +66,21 @@ BSD License

Copyright (c) Teracy, Inc. and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of Teracy, Inc. nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand Down

0 comments on commit 523e06d

Please sign in to comment.