---
title: "POST /login"
method: POST
path: "/login"
tags: ["MiniBlog"]
---

# POST /login

`POST /login`

Login 用户登录

## Query parameters

- `username` string
- `password` string

## Response `200`

OK

- V1LoginResponse — LoginResponse 表示登录响应
  - `token` string — token 表示返回的身份验证令牌

## Changes

> 5 revisions in range; 1 could not be searched.

- **2024-12-10** `2cd7efbd4c2e` — 1 info
  - endpoint added
- **2024-04-03** `ae599f31f558` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/onexstack/apis/miniblog-api/changes/login/post.md)

---

[API](https://skmtc.dev/onexstack/apis/miniblog-api.md) · [All operations](https://skmtc.dev/onexstack/apis/miniblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onexstack/miniblog-api/revisions/260806329592/schema)
