Skip to content

Commit 7b54a14

Browse files
authored
Update README to suggest content type with rails 7.1 (#145)
1 parent c36e286 commit 7b54a14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,9 @@ Cypress.Commands.add('appCommands', (body) => {
463463
method: 'POST',
464464
url: '/__cypress__/command',
465465
body: JSON.stringify(body),
466+
headers: {
467+
'Content-Type': 'application/json; charset=utf-8',
468+
},
466469
log: true,
467470
failOnStatusCode: true
468471
})

0 commit comments

Comments
 (0)