Visual Studio Redirect_uri

my redirect URI is the same

the code of the url send :
jQuery.ajax({
method: “GET”,
url: “https://api.twitch.tv/kraken/oauth2/”,
data: ‘’,
dataType: “json”,
headers: {
‘Client-ID’: ‘myid’,
‘redirect_uri’: ‘http://localhost/login’,
‘response_type’: ‘token id_token’,
“scope”: “viewing_activity_read”
}
my uri does not match