Logs user into the system

Logs user into the system

Query Parameters
  • username
    required

    The user name for login

  • password
    required

    The password for login in clear text

Responses
  • 200

    successful operation

  • 400

    Invalid username/password supplied

GET/user/login
curl https://petstore.swagger.io/v2/user/login \
  --header 'Api_key: YOUR_SECRET_TOKEN'