Created
April 1, 2014 16:33
-
-
Save sleexyz/9917795 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Site: https://csserver.exeter.edu/schedule | |
Page: account.php | |
-- Functionality: User Login | |
GET['login'] ==> Use login data | |
POST['username'] ==> Username of account | |
POST['password'] ==> Password of account | |
*** Cookies set in session: | |
(REQUIRED) exetertools_token ==> Login token | |
exetertools_username ==> Local cache of username | |
exetertools_id ==> Local cache of real name | |
exetertools_classes ==> Local cache of classes | |
-- Functionality: User logout | |
GET['logout'] ==> Logout current session | |
POST['logout'] ==> Logout current session | |
** Deletes cookies set by login functionality | |
-- Functionality: Account Status | |
GET['status'] ==> Get current status | |
Returns HTML of status in a div with the ID of status | |
Not Logged in: "You are not logged in." | |
Logged in: "You are logged in as USERNAME." | |
Page: formCalendar.php | |
-- Functionality: Get calendar information | |
GET['sdate']=MM-DD-YYYY -- start date of calendar | |
GET['edate']=MM-DD-YYYY -- end date of calendar (optional; seven days if absent) | |
GET['format']=FORAMT -- format of information (one of HTML or JSON; defaults to HTML) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
credits to mr. sea