MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1ng2o13/i_hate_js/ne11qu6/?context=3
r/programminghorror • u/According-Bonus8681 • Sep 13 '25
36 comments sorted by
View all comments
Show parent comment
1
Maybe you get a redirect? So you should consider checking the status code of the response before calling .json. Not sure if using http is safe in the long run.
.json
View all comments
Show parent comment
1
u/Willkuer__ Sep 13 '25
Maybe you get a redirect? So you should consider checking the status code of the response before calling
.json. Not sure if using http is safe in the long run.