Skip to content

Instantly share code, notes, and snippets.

@NekoTashi
Last active May 1, 2019 00:35
Show Gist options
  • Save NekoTashi/ac470724455791f9a797 to your computer and use it in GitHub Desktop.
Save NekoTashi/ac470724455791f9a797 to your computer and use it in GitHub Desktop.
################ LOGEO #####################
usshorario.ddns.net:8080/auth/login [POST]
HEADER:
Content-Type: application/json; charset=utf-8
BODY:
{
"username": "17.304.391-0",
"password": "password"
}
################ REGISTRO ###################
usshorario.ddns.net:8080/auth/register [POST]
HEADER:
Content-Type: application/json; charset=utf-8
BODY:
{
"username": "17.304.391-0",
"password": "password",
"email": "ntashi.x3@gmail.com"
}
################ DESLOGEO ###################
usshorario.ddns.net:8080/auth/logout [POST]
HEADER:
Content-Type: application/json; charset=utf-8
Authorization: Token <auth_token>
############### GET SCHEDULE ################
usshorario.ddns.net:8080/schedule/ [GET]
HEADER:
Content-Type: application/json; charset=utf-8
Authorization: Token <auth_token>
############# GET NEW SCHEDULE ##############
GET NEW SCHEDULE
usshorario.ddns.net:8080/schedule/update/ [GET]
HEADER:
Content-Type: application/json; charset=utf-8
Authorization: Token <auth_token>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment