Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 580 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 580 Bytes

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