The example tested on python 3.5.1 with PyCharm on windows.
Open cmd and run:
1. cd /path-to-dir/
2. pip install -r ./requirements.txt
3. python run.py
Open another CMD and run:
- cd /path-to-dir/
- http 127.0.0.1:5001/dummy-api-anonymous/
- http -a [email protected]:test123 127.0.0.1:5001/dummy-api-http/
- python get_token.py
- http 127.0.0.1:5001/dummy-api-token/ Authentication-Token:
The result need to be like this image:
If you want to read more about me go to my site.