Skip to content

responseType json only #76

@alexdeia

Description

@alexdeia
        const request = got<T>(url, {
            ...options,
            responseType: 'json',
            isStream: false,
        });

Why responseType: 'json'? I removed this prop and now I can receive XML-response too. It seems to me I missed this point the in docs.

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