Skip to content

Commit 7446a07

Browse files
Update api-proxy.mdx
1 parent e5c8223 commit 7446a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs-v2/pages/connect/api-proxy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ const resp = await pd.makeProxyRequest(
9999
url: "https://slack.com/api/chat.postMessage", // Include any query params you need; no need to Base64 encode the URL if using the SDK
100100
options: {
101101
method: "POST",
102-
headers: { // These get sent to the downstream API
103-
hello: "world!"
102+
headers: {
103+
hello: "world!" // Include any headers you need to send to the downstream API
104104
},
105105
body: {
106106
text: "hello, world",

0 commit comments

Comments
 (0)