Merge pull request #176 from stianst/master

Add missing content-type header to authz example
This commit is contained in:
Stian Thorgersen 2017-08-30 13:50:26 +02:00 committed by GitHub
commit 3f0181f033

View file

@ -68,7 +68,7 @@ back a RPT (if permissions were actually granted) with a set of permissions repr
You can also use the entitlements endpoint to obtain a user's entitlements for a set of one or more resources. For example, using curl: You can also use the entitlements endpoint to obtain a user's entitlements for a set of one or more resources. For example, using curl:
```bash ```bash
curl -X POST -H "Authorization: Bearer ${access_token}" -d '{ curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer ${access_token}" -d '{
"permissions" : [ "permissions" : [
{ {
"resource_set_name" : "Alice Bank Account" "resource_set_name" : "Alice Bank Account"