auth

Authenticate a user

post/auth/login

Request

  • Base URL
    https://staging.api-golang.boilerplate.hng.tech/api/v1
  • Auth
    none declared

Request body

emailstring required
passwordstring required

Response

User login successfully

statusstring

success response

status_codeinteger

HTTP status Code response

messagestring

Example response

{
  "status": "success",
  "status_code": 200,
  "message": "Login Successfully"
}

Changes

No recorded changes to this operation across all 15 revisions of this API.