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
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

001_jwt_auth.log 951B

123456789101112131415161718192021222324252627282930313233
  1. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  2. X-Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6IjE1MzgyMDc2MDUiLCJleHAiOjE1MzgyMDc2MzV9.Z5px_GT15TRKhJCTHhDt5Z6K6LRDSFnLj8U5ok9l7gw
  3. ===
  4. 200
  5. Content-Type: application/json
  6. Content-Length: 45
  7. {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
  8. ===
  9. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  10. ===
  11. 200
  12. Content-Type: application/json
  13. Content-Length: 45
  14. {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
  15. ===
  16. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  17. X-Authorization: Bearer invalid
  18. ===
  19. 403
  20. Content-Type: application/json
  21. Content-Length: 57
  22. {"code":1012,"message":"Authentication failed for 'JWT'"}
  23. ===
  24. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  25. ===
  26. 404
  27. Content-Type: application/json
  28. Content-Length: 54
  29. {"code":1001,"message":"Table 'invisibles' not found"}