Skip to content

XMLHttpRequest broken after Axios migration #299

@jozsi

Description

@jozsi

Which SDK version are you using?

v21.0.3 (latest)

What's the issue?

#260

Steps/Sample code to reproduce the issue

Use in a browser environment.

Observed Results:

Http.request crashes.

Expected Results:

Http.request is the isomorphic function that routes either to Http.xmlHttpRequest (browser) or Http.requestPromise (axios, on backend). The following commit has replaced the request library with axios, adapted the code partly, hence creating a discrepancy: a2d64d9

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