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 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ===
  2. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  3. X-Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6IjE1MzgyMDc2MDUiLCJleHAiOjE1MzgyMDc2MzV9.Z5px_GT15TRKhJCTHhDt5Z6K6LRDSFnLj8U5ok9l7gw
  4. ===
  5. 200
  6. Content-Type: application/json; charset=utf-8
  7. Content-Length: 45
  8. {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
  9. ===
  10. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  11. ===
  12. 200
  13. Content-Type: application/json; charset=utf-8
  14. Content-Length: 45
  15. {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
  16. ===
  17. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  18. X-Authorization: Bearer invalid
  19. ===
  20. 403
  21. Content-Type: application/json; charset=utf-8
  22. Content-Length: 57
  23. {"code":1012,"message":"Authentication failed for 'JWT'"}
  24. ===
  25. GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  26. ===
  27. 404
  28. Content-Type: application/json; charset=utf-8
  29. Content-Length: 54
  30. {"code":1001,"message":"Table 'invisibles' not found"}
  31. ===
  32. OPTIONS /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  33. Access-Control-Request-Method: POST
  34. Access-Control-Request-Headers: X-PINGOTHER, Content-Type
  35. ===
  36. 200
  37. Access-Control-Allow-Headers: Content-Type, X-XSRF-TOKEN, X-Authorization
  38. Access-Control-Allow-Methods: OPTIONS, GET, PUT, POST, DELETE, PATCH
  39. Access-Control-Allow-Credentials: true
  40. Access-Control-Max-Age: 1728000