A todo site project.
To view todos: https://udo.pythonanywhere.com/api/todos
To view completed todos: https://udo.pythonanywhere.com/api/todos/completed
To mark a todo complete: https://udo.pythonanywhere.com/api/todos//complete
Note: Below instructions are for localhost:8000 or http://127.0.0.1:8000/
curl -H "Content-Type: application/json" -X POST http://localhost:8000/api/signup -d "{"username":"", "password":""}"
curl -H "Content-Type: application/json" -X POST http://localhost:8000/api/login -d "{"username":"", "password":""}"
curl -X PUT -H "Content-Type: application/json" -H "Authorization: Token <token_value>" http://localhost:8000/api/todos/7/complete
curl http://localhost:8000/api/todos/ -H "Authorization: Token <token_value>"