I am currently calling an endpoint within a popup element that contains a React application (github link):
App.tsx
const App = () => {
const [blah, setBlah ] = React.useState<any>('nothing');
React.useEffect(() => {
fetch('https://pokeapi.co/api/v2/pokemon/12/').then(response => response.json()).then(data => setBlah(data));
}, []);
return (
<>
{JSON.stringify(blah)}
<Button/>
</>
);
};
export default App;
I can see the response has been successful in my popup, but cannot see its request details within the browser console's network tab. Likewise, I haven't been able to see it within the background page console as well. Any ideas to where I may find the endpoint request details?