From a7b70abe5ed7d560afc5dc9cc9c59c129b652c12 Mon Sep 17 00:00:00 2001 From: wbamberg Date: Wed, 26 Jun 2024 17:43:28 -0700 Subject: [PATCH] Update files/en-us/web/api/requestinit/index.md --- files/en-us/web/api/requestinit/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/requestinit/index.md b/files/en-us/web/api/requestinit/index.md index 7817b6fb27a6d91..a5619a5a9676cd8 100644 --- a/files/en-us/web/api/requestinit/index.md +++ b/files/en-us/web/api/requestinit/index.md @@ -264,7 +264,7 @@ async function post() { In this case the request will be sent with the following options: - `method: "POST"` -- `headers: ["Content-Type": "application/json"]` +- `headers: {"Content-Type": "application/json"}` - `body: '{"username":"example2"}'` - `referrer: ""`