FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Sending HTTP request while debugging is throwing error · Issue #557 · NativeScript/ios-jsc · GitHub

Sending HTTP request while debugging is throwing error #557

Description

using NativeScript Inspector with tns debug ios and http requests is throwing :

this.dispatchMessage is not a function. (In 'this.dispatchMessage', 'this.dispatchMessage' is undefined)

Code used to reproduce the behaviour:

http.request({
        url: config.baseUrl,
        method: "POST",
        headers: { "Content-Type": "application/x-www-form-urlencoded" },
        content: data
    }).then(function (response) {
        // Success
    }, function (e) {
        // error occur
    });

Related to #472

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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


    Back | FazBrowse Home | New Git URL