Logo
1 API Documentation

Get user by user name

GET {{baseUrl}}/user/:username

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "id": -50303036, "username": "irure laborum ea", "firstName": "elit officia ea", "lastName": "non occaecat consequat cupidatat", "email": "consequat do Duis", "password": "et non commodo", "phone": "id enim laborum dolor", "userStatus": 16951072 }



Curl
curl -X GET 'https://petstore.swagger.io/v2/user/:username' -H 'Accept: application/json'

ENDPOINTS