add_user - xamgems/UWSchedule GitHub Wiki
Web Service
- Request:
POST
- Params:
user_name
- Returns: JSON of user information (format
{"timestamp": "2014-02-08T22:24:19", "user_name": "jeffl", "id": 6}
Error:User exists - URL: http://shermanpay.com/uw_schedule/add_user
Description
Adds a new user_name
to the database if the the user_name
doesn't exist in the database, and returns the user information in JSON format.
If user exists, returns error message:"User exists in Database!"