provider user GET /user/login
@utdk/petstore /user/login
Logs user into the system.
Log into the system.
username query
The user name for login
string
password query
The password for login in clear text
string

Try it

Authentication
Configure credentials for Swagger Petstore - OpenAPI 3.0
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

loginuser
GET/user/login
Log into the system.

The user name for login

The password for login in clear text

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import petstore from '@utdk/petstore';

await petstore.loginuser()