Skip to content

Documentation (Main)

nuketro0p3r edited this page Oct 20, 2014 · 6 revisions

Welcome to Almost Perfect WIKI!


User login / index page:

Request type: POST /

URL: /

parameters:

email - User Email (used for login)

password - User Password

remember_me - 0 or 1 value, remembers user for next login



User registration:

Request type: POST /register

parameters: email, password, password_repeat, first_name, last_name, birtdate, city, country, gender, orientation, userfile



Show your own profile (user will be redirected here after successful login):

Request type: GET /profile (Gets either the login page if user ois not yet logged in, or the user's profile page)



Edit own profile:

Request type: POST /profile/edit

parameters: email, password, password_repeat, first_name, last_name, birthdate, city, country, gender, orientation, userfile



View another user's profile:

Request type: GET /profile/id



User logout:

Request type: GET /logout

Clone this wiki locally