Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleAPI Spec Document

Method

POST


URL

/api/auth/login


1. Headers

Header

STT

Value

Required

Content-Type

application/json

Yes

2. Parameters

Field

Source Data Type / Length 

Description

Sample Values






2. Body

STT

Path

Field

Data Type

Required

/ Length

Description

email

string

Yes

User's registered email address

password

string

Yes

User's password

Note

Sample Values















3. Response

Mã lỗi

Mô tả

200

OK

Thành công

400

Bad Request

Nhập đủ thông tin

401

Unauthorized

Sai Username hoặc Pass

/ Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values




















3.4 Mô tả các trường dữ liệu trên màn hình:

...