api de gestion de ticket, basé sur php-crud-api. Le but est de décorrélé les outils de gestion des données, afin
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

003_db_auth.log 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ===
  2. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  3. ===
  4. 404
  5. Content-Type: application/json; charset=utf-8
  6. Content-Length: 54
  7. {"code":1001,"message":"Table 'invisibles' not found"}
  8. ===
  9. POST /login
  10. Content-Type: application/json; charset=utf-8
  11. {"username":"user2","password":"pass2"}
  12. ===
  13. 200
  14. Content-Type: application/json; charset=utf-8
  15. Content-Length: 27
  16. {"id":2,"username":"user2"}
  17. ===
  18. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  19. ===
  20. 200
  21. Content-Type: application/json; charset=utf-8
  22. Content-Length: 45
  23. {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
  24. ===
  25. POST /login
  26. Content-Type: application/json; charset=utf-8
  27. {"username":"user2","password":"incorect password"}
  28. ===
  29. 403
  30. Content-Type: application/json; charset=utf-8
  31. Content-Length: 59
  32. {"code":1012,"message":"Authentication failed for 'user2'"}
  33. ===
  34. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  35. ===
  36. 200
  37. Content-Type: application/json; charset=utf-8
  38. Content-Length: 45
  39. {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
  40. ===
  41. POST /logout
  42. ===
  43. 200
  44. Content-Type: application/json; charset=utf-8
  45. Content-Length: 27
  46. {"id":2,"username":"user2"}
  47. ===
  48. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  49. ===
  50. 404
  51. Content-Type: application/json; charset=utf-8
  52. Content-Length: 54
  53. {"code":1001,"message":"Table 'invisibles' not found"}
  54. ===
  55. POST /logout
  56. ===
  57. 401
  58. Content-Type: application/json; charset=utf-8
  59. Content-Length: 49
  60. {"code":1011,"message":"Authentication required"}