POST /api/Admin/login

Body

  • phoneNumber string | null
  • password string | null
  • Additional properties are NOT allowed

Body

  • phoneNumber string | null
  • password string | null
  • Additional properties are NOT allowed

Body

  • phoneNumber string | null
  • password string | null
  • Additional properties are NOT allowed

Responses

  • 200

    Success

  • Bad Request

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties
    • key null
    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties
    • key null
    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties
    • key null
POST /api/Admin/login
curl \
 --request POST 'http://mamaguide.runasp.net/api/Admin/login' \
 --header "Content-Type: application/json" \
 --data '{"phoneNumber":"string","password":"string"}'
curl \
 --request POST 'http://mamaguide.runasp.net/api/Admin/login' \
 --header "Content-Type: text/json"
curl \
 --request POST 'http://mamaguide.runasp.net/api/Admin/login' \
 --header "Content-Type: application/*+json"
Request examples
{
  "phoneNumber": "string",
  "password": "string"
}
Request examples
{
  "phoneNumber": "string",
  "password": "string"
}
Request examples
{
  "phoneNumber": "string",
  "password": "string"
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string",
  "key": null
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string",
  "key": null
}