Merge pull request #176 from stianst/master
Add missing content-type header to authz example
This commit is contained in:
commit
3f0181f033
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue