header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
Body Params application/json
Example
{"comments":"This request has been approved only for testing purpose"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://preprod.api.crego.io/v1/rego/approvals/5560a288-4875-4865-9468-8103c4b0764f/approve/' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data-raw'{
"comments":"This request has been approved only for testing purpose"
}'