AtLAS-WVU / AtLAS-server

An open-source server application for dispatching, receiving, and tracking AtLAS (Autonomous Low Altitude Service) delivery drones.
https://deliverwithatlas.com/
GNU General Public License v3.0
1 stars 2 forks source link

Endpoint to Create User #1

Closed nathantspencer closed 6 years ago

nathantspencer commented 7 years ago

Response should be a JSON body:

{
    "success": false,
    "uniqueUser": true,
    "uniqueEmail": false
    "debug": "debug message"
}
owiegand commented 6 years ago

finished code for this. Code is the php page: CreateAccount.php.

PHP code accepts the following POST parameters: username, password, email, first_name, last_name

Returns the following: { "success": false, "uniqueUser": true, "uniqueEmail": false "debug": "debug message" }