Minor doc fix for curl header and api URL

This commit is contained in:
AbegaM
2024-06-04 17:23:51 +03:00
parent 135cbfbb17
commit 4df2be4f6a
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ To create permissions for a Role call `/tables/_roles_permissions/rows/` endpoin
curl --request POST \
--url http://localhost:8000/api/tables/_roles_permissions/rows/ \
--header 'Content-Type: application/json' \
--header 'Cookie: <jwt-access-token>' \
--header 'Cookie: accessToken=<jwt-access-token>' \
--data '{
"fields": {
"role_id": 2,
@@ -115,7 +115,7 @@ To assign roles to a user call `/tables/_users_roles/rows/` endpoint with `POST`
curl --request POST \
--url http://localhost:8000/api/tables/_users_roles/rows/ \
--header 'Content-Type: application/json' \
--header 'Cookie: <jwt-access-token>' \
--header 'Cookie: accessToken=<jwt-access-token>' \
--data '{
"fields": {
"user_id": 1,