0
Very briefly I need to send a jwt token in the http header of the requests, as I can change the headers of jQuery requests $.post()
and $.get()
?
Example of how I do using Curl by prompt:
curl -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcHAudGVjbWFuLmNvbSIsInVzZXJuYW1lIjoiSmVhbiBGcmVpdGFzIiwiZW1haWwiOiJoZW5yaXF1ZWszQGxpdmUuY29tIiwiYWNsIjpbInJoIiwiZmluYW5jZWlybyIsImNvbWVyY2lhbCIsImVuZ2VuaGFyaWEiLCJhZG1pbmlzdHJhdGl2byJdfQ==.kq4nJJYBTbjWwtbmu\/wB+EXilDHHPr8es6mXpsXEVMs=" http://meuapp.com/jwt