You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'}
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: