Skip to content

JS Header is not defined #188

Description

@jekiki

When running js code, i got an error.

js code is below

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

error is below

unhandled promise rejection: ReferenceError: 'Headers' is not defined
    at webhook (<eval>:2)
    at <eval> (<eval>:32)

Activity

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

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