https://github.com/patrick91/europython-next
https://github.com/patrick91/europython-next
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrick91/europython-next
- Owner: patrick91
- Archived: true
- Created: 2015-08-02T14:40:13.000Z (almost 11 years ago)
- Default Branch: develop
- Last Pushed: 2015-08-10T20:47:57.000Z (almost 11 years ago)
- Last Synced: 2024-10-03T17:34:11.633Z (over 1 year ago)
- Language: Python
- Size: 182 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EuroPython-Next
## Auth
### Obtain the Token
curl -H "Content-Type: application/json" -X POST -d '{"username":"username","password":"password"}' http://localhost:8000/api-token-auth/
### How to use the token
curl -X GET http://127.0.0.1:8000/api/example/ -H 'Authorization: Token yourtoken'