Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(edr): Update 07_edrs.md #1646

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/usage/management-api-walkthrough/07_edrs.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,17 @@ Once the EDR has been negotiated and stored, the data can be fetched in two ways

## Provider Data Plane

Once the right EDR has been identified using the EDR Management API the current asset/agreement/transfer-process that
you want to transfer, we can use the `endpoint`, `authorization` to make the request. If the HTTP [Asset](01_assets.md)
has been configured to proxy also HTTP verb, query parameters and path segments, they will be forwarded to the backend from the
Provider Data Plane:
Once the right EDR has been identified using the EDR Management API via the correct asset/agreement/transfer-process that
you want to transfer, we can use the `endpoint` and `authorization` information from the EDR to make the request.
In the example below, the `endpoint` is used as the Host to which the request is sent and the `authorization` is used as the
token in the authorization header.

Note: If the HTTP [Asset](01_assets.md) has been configured to proxy also HTTP verb, query parameters and path segments,
they will be forwarded to the backend by the Provider Data Plane:

```http request
GET /subroute?foo=bar HTTP/1.1
Host: https://consumer-data.plane/api/public
Host: https://provider-data.plane/api/public
Authorization: {{TOKEN}}
Content-Type: application/json
```
Expand Down
Loading