Page created: 6 Sep 2020 | Page updated: 9 Feb 2021 | 1 min read8.2 PingDataGovernance Product Administration User task Product documentation Content Type Data Governance Capability You can test the new policy with cURL or Postman. Issue a GET request to https://localhost:7443/meme-game/api/v1/users/user.0/answers/1. The following cURL command makes such a request. curl --insecure -X GET \ https://localhost:7443/meme-game/api/v1/users/user.0/answers/1 \ -H 'Authorization: Bearer {"active": true, "sub": "user.0"}' You should get a 403 Forbidden response with the following body.{ "errorMessage": "Access Denied", "status": 403 }
Issue a GET request to https://localhost:7443/meme-game/api/v1/users/user.0/answers/1. The following cURL command makes such a request. curl --insecure -X GET \ https://localhost:7443/meme-game/api/v1/users/user.0/answers/1 \ -H 'Authorization: Bearer {"active": true, "sub": "user.0"}' You should get a 403 Forbidden response with the following body.{ "errorMessage": "Access Denied", "status": 403 }