Using the request method to make requests
To use the request method to make requests, pass the HTTP method and path as the first argument. Pass any body, query, or path parameters in an object as the second argument.
For example, to make a GET request to /dpss/api/v1/tenants/{{tenantId}}/data-products/{{dataProductId}}/consents/{{businessId}}
and pass the tenantid
, dataProductId
, and businessid
parameters:
Copy
curl --request GET –location 'https://k8s.itrontotal.com/dpss/api/v1/tenants/{{tenantId}}/data-products/{{dataProductId}}/consents/{{businessId}}' –header ’Authorization: Bearer {{Auth Token}}’