Reactiflux
Reactiflux

help-js

Root Question Message

⛄ Snowberb ⛄
⛄ Snowberb ⛄1/25/2023
How could I watch all API responses through the app? I need to know when any of the API calls returns a 401
ScriptyChris
ScriptyChris1/25/2023
Network tab in devtools?
⛄ Snowberb ⛄
⛄ Snowberb ⛄1/25/2023
No, I mean programatically
ScriptyChris
ScriptyChris1/25/2023
You would have to wrap each HTTP call with a function, which would intercept that or maybe a library you use have this built-in (like Axios)
Message Not Public

Sign In and Join Server To See

1/25/2023
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy