Skip to content

PUT requests do not work #70

Open
Open
@Jamesking56

Description

@Jamesking56

Hi,

I have a route which accepts PUT only which I'd like to call in my Cypress test but it doesn't seem to work when I use cy.visit():

cy.visit({ route: 'my-route', params: { comment: 1 } });
```

I get this error:

```
CypressError: `cy.visit()` was called with an invalid method: `PUT`. Method can only be `GET` or `POST`.
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions