2016DCC Where Are You?

기본

  • "/login"

    param으로 id, password를 받습니다.

  • "/register"

    param으로 id, password, username을 받습니다.

  • "/logout" GET

    param따위 ㅋ

  • "/nowuser" GET

    현재 로그인 되어있는 유저 정보 반환

  • "/addfriend"

    친구 추가 param으로 id , Fid(친구의 아이디)를 받습니다

  • "/getfriendlist"

    친구 리스트 불러오기 param으로 id를 받습니다.

Web사용법

  • "/web/getlocation"

    param으로 id를 받습니다.

And사용법

  • "/and/setlocatioin"

    param으로 id, loca_w(위도), loca_g(경도)를 받습니다.

2016DCC_WhereYou

Chat

  • /public/index.html은 클라 예시입니다 script부분을 잘 봐주세요