You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a new context to develop docs:
The new `page` context should be used to add information about the
current page that an event originated on. It should be used for
web-based client SDKs instead of putting this information into
`event.request`.
Relay will need to extract data from this (if available) instead of
`event.request`.
Copy file name to clipboardExpand all lines: develop-docs/sdk/data-model/event-payloads/request.mdx
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,8 @@ sidebar_order: 8
4
4
---
5
5
6
6
The Request interface contains information on a HTTP request related to the
7
-
event. In client SDKs, this can be an outgoing request, or the request that
8
-
rendered the current web page. On server SDKs, this could be the incoming web
9
-
request that is being handled.
7
+
event. In client SDKs, this can be an outgoing request (use the [page context](../contexts/#page-context) to track the page that the request was made from).
8
+
On server SDKs, this could be the incoming web request that is being handled.
10
9
11
10
The data variable should only contain the request body (not the query string).
12
11
It can either be a dictionary (for standard HTTP requests) or a raw request
0 commit comments