Skip to content

Change default options to promote secure connections #13

@neocotic

Description

@neocotic

When support for JSON requests was added in 2.1.0, JSONP was kept as the default format to avoid it being a breaking change.

However, since this means that credentials are sent in the clear (by design, for JSONP), we should promote secure connections by changing the default options to the following:

{
  format: 'json',
  method: 'POST'
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions