Add missing content-type header to authz example

This commit is contained in:
Stian Thorgersen 2017-08-30 13:50:14 +02:00
parent c8d3fa9f26
commit dc27f55399

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"