How to send token from the browser to the server?

1

How to send the browser jwt token to the php server with each request? Hi, I'm trying to use a token in my application, but I'm not sure how to do that.

If possible, you could send an example token usage!

    
asked by anonymous 07.11.2017 / 23:49

1 answer

1

I use satellizer who does this for me, and I do not care where I should save or not. It sends the token of JWT to the server, and saves the token in the browser.

Follow the link: Satellizer

    
08.11.2017 / 01:59