summaryrefslogtreecommitdiff
path: root/content/docs/configuration/headers.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/docs/configuration/headers.md')
-rw-r--r--content/docs/configuration/headers.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/content/docs/configuration/headers.md b/content/docs/configuration/headers.md
new file mode 100644
index 0000000..2b8f82c
--- /dev/null
+++ b/content/docs/configuration/headers.md
@@ -0,0 +1,17 @@
+---
+title: 'Headers'
+weight: 9
+---
+
+The `headers` config option allows you to specify the custom HTTP headers sent with each request.
+
+```javascript {filename="Configuration"}
+export const config = {
+ headers: {
+ "Authorization": "Bearer ey....",
+ "User-Agent": "Mozilla/5.0 (Macintosh ...",
+ },
+ // ...
+};
+```
+