---
title: "Get an user by the user identifier"
method: GET
path: "/user/{username}"
tags: ["user"]
---

# Get an user by the user identifier

`GET /user/{username}`

Get an user by username

## Path parameters

- `username` string, required

## Response `200`

{"code":0,"message":"OK","data":{"username":"kong","password":"$2a$10$E0kwtmtLZbwW/bDQ8qI8e.eHPqhQOW9tvjwpyo/p05f/f4Qvr3OmS"}}

- ModelUserModel
  - `password` string, required
  - `username` string, required

---

[API](https://skmtc.dev/golearnku/apis/tapi-blog-example-api.md) · [All operations](https://skmtc.dev/golearnku/apis/tapi-blog-example-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/golearnku/tapi-blog-example-api/revisions/a44ba956919c/schema)
