diff --git a/docs/authentication/jwt.mdx b/docs/authentication/jwt.mdx index 45fed8074..5171aeed9 100644 --- a/docs/authentication/jwt.mdx +++ b/docs/authentication/jwt.mdx @@ -23,6 +23,9 @@ Example: ```ts const user = await fetch('http://localhost:3000/api/users/login', { method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, body: JSON.stringify({ email: 'dev@payloadcms.com', password: 'password',