From 3f2be1e195e2a9117091d5d3a326541dc1c70beb Mon Sep 17 00:00:00 2001 From: anthony menasse Date: Fri, 9 Aug 2024 23:07:55 +1000 Subject: [PATCH] [Fix] upload schema example (#144) * Remove grant_type form field from upload schema Form field grant_type missing opening quotes. With correct quoting Baas throws error - Unexpected Name \"grant_type\". * Treat data as a filename in upload schema example Curl --data-binary filename needs to start with '@' so it is read as a file. --------- Co-authored-by: Anthony Menasse --- content/deploy/install/services.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/deploy/install/services.md b/content/deploy/install/services.md index 6bc04597f..899a98f2d 100644 --- a/content/deploy/install/services.md +++ b/content/deploy/install/services.md @@ -114,9 +114,8 @@ If enabling the Audit Trail, also the include the configuration in [Enable chang ```bash curl --location --request POST 'http://localhost:/admin/schema' \ --header 'Authorization: Bearer ' \ - --data grant_type=urn:ietf:params:oauth:grant-type:uma-ticket" \ --header 'Content-Type: application/octet-stream' \ - --data-binary '’ + --data-binary '@’ ``` This creates more roles.