Angular2-jwt: application/json by default?

Created on 6 Sep 2017  ·  3Comments  ·  Source: auth0/angular2-jwt

Hi! How can I setup application/json by default in new version?

stale

Most helpful comment

I was wondering the same thing.
Using a custom interceptor to set the headers atm. But a setting for angular2-jwt would be better.

All 3 comments

I was wondering the same thing.
Using a custom interceptor to set the headers atm. But a setting for angular2-jwt would be better.

is this no longer supported?

globalHeaders: [{'Content-Type': 'application/json'}],

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guillaume-skwid picture guillaume-skwid  ·  5Comments

jaumard picture jaumard  ·  5Comments

getglad picture getglad  ·  5Comments

Eddman picture Eddman  ·  3Comments

n0490b picture n0490b  ·  4Comments