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.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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"}
  30. ===
  31. OPTIONS /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
  32. Access-Control-Request-Method: POST
  33. Access-Control-Request-Headers: X-PINGOTHER, Content-Type
  34. ===
  35. 200
  36. Access-Control-Allow-Headers: Content-Type, X-XSRF-TOKEN, X-Authorization
  37. Access-Control-Allow-Methods: OPTIONS, GET, PUT, POST, DELETE, PATCH
  38. Access-Control-Allow-Credentials: true
  39. Access-Control-Max-Age: 1728000