REQUEST / HTTP/1.1
Host: testing-api.ghsv.vn
Content-Type: application/json
Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiMTQiLCJicmFuY2giOiJkZW1vLmdoc3Yudm4iLCJzZXNzaW9uIjoxNjUyNDY0MTU4fQ.zBeoadjqMWsJj26VeWoV9vrtPKOhDNriZaAm_IqpQGM
REQUEST / HTTP/1.1
Host: api.ghsv.vn
Content-Type: application/json
Token: token-cua-ban
// Content-Type: application/json
// 403: Unauthorized
{
"success": false,
"msg": "Token không hợp lệ."
}
// Content-Type: application/json
// 200: OK
{
"success": true,
"msg": ""
// thông tin khác
}
// Content-Type: application/json
// 200: OK
{
"success": false,
"msg": "nguyên nhân / lý do."
}