Skip to content

TypeError When API response type not json / Content-Type : text/html #123

@fredysiswanto

Description

@fredysiswanto

Hi Filip,
I'm getting a TypeError when trying to request api with a response non JSON type (Content-Type : text/html; charset=UTF-8).
if I try use cy.request my code run normally.
Let me know if you need anything else!
thank you.

image
image
image

use version 2.1.1
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions