Last updated 1 year ago
Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.
/user/login
The user name for login
The password for login in clear text
successful operation
Invalid username/password supplied
curl -L \ --url 'https://petstore.swagger.io/v2/user/login?username=text&password=text'
text
/user/logout
curl -L \ --url 'https://petstore.swagger.io/v2/user/logout'
No body
/user/createWithList
User Status
curl -L \ --request POST \ --url 'https://petstore.swagger.io/v2/user/createWithList' \ --header 'Content-Type: application/json' \ --data '[{}]'
/user/createWithArray
curl -L \ --request POST \ --url 'https://petstore.swagger.io/v2/user/createWithArray' \ --header 'Content-Type: application/json' \ --data '[{}]'