API Specification Doc: (Online Hotel Mangement App)
API Specification Doc: (Online Hotel Mangement App)
1. Registration
Request
Method URL
POST api/authentication/login
Response
Status Response
2. CheckUsername
Request
Method URL
GET api/authentication/login/checkusername/<username>
POST { object
Username:string,
Password:String
}
Response
Status Response
3.CheckuserEmail
Request
Method URL
GET api//authentication/login/checkusername/<Email>
POST { object
Username:string,
Password:String
Response
Status Response
Status Codes
All status codes are standard HTTP status codes. The below ones are used in this API.
200 OK
201 Created
409 Conflict