On the page http://mywebsite.com/mypage, I redirect the user to a page of my API with window.location.href = http://myapi.com/myRoute. But when I look in the dev to
window.location.href = http://myapi.com/myRoute