In my jQuery script I have an Ajax call to an url like : http://tokenvalue@example.com.
When I made a request with $.ajax
or $.get
, jquery remove the tokenvalue
. So authentication failed.
$.ajax({
type: 'GET',
url: "http://tokenvalue@example.com"
},
Why does jQuery remove it ? And how to fix that ?
Thanks.