Typically, when I utilize developer tools in Google and choose to open an API file in a new tab, I am able to view the data as illustrated below.
However, there are occasions where upon attempting the same action on certain websites, a security precaution is triggered which displays an "Unauthorized" message instead of the actual data.
This issue cannot be attributed to a session error since I was logged in correctly. It seems like it is based on WHAT is making the call to the API file.
Does anyone have insights on how to recreate this behavior in my ExpressJs JavaScript/AngularJS application?
{
username: "James Doe",
picture: "styles/person.png",
activity: 12
}
For example, this occurs on GTDNext.com