From 44e75220843dca5d6d34df5036bf211b61ac27ad Mon Sep 17 00:00:00 2001 From: Alessandro Macagno Date: Thu, 7 Dec 2023 12:06:02 +0100 Subject: [PATCH] Update README to suggest content type with rails 7.1 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0c0564b..8d5180d 100644 --- a/README.md +++ b/README.md @@ -463,6 +463,9 @@ Cypress.Commands.add('appCommands', (body) => { method: 'POST', url: '/__cypress__/command', body: JSON.stringify(body), + headers: { + 'Content-Type': 'application/json; charset=utf-8', + }, log: true, failOnStatusCode: true })