/user-api

This REST API handles users.

Primary LanguagePHP

User Api

This REST API handles users. All information is sent with JSON formatting. The script is written to have the ability to add more entities to the project if needed.

Why should I use this API?

  • Structure of code
  • Objectorientation
  • Readability and names for variables, functions and classes
  • Returning status codes
  • Error handling

How do I use this API?

To add a new user

add

To fetch all users

persons

To fetch a single user

persons/1

What properties can I store for a user?

  • Name
  • Mail
  • User
  • Password