MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1qqxmi8/maybeusetheoriginheaderinstead/o5k0bh5/?context=3
r/ProgrammerHumor • u/MurkyWar2756 • Jan 30 '26
13 comments sorted by
View all comments
Show parent comment
2
Yeah, the problem is that the response object is not instantiated until after the first promise is fulfilled. So, there's no way to get a reference to the Response's JSON method because it doesn't exist yet.
View all comments
Show parent comment
2
u/jessepence Feb 15 '26
Yeah, the problem is that the response object is not instantiated until after the first promise is fulfilled. So, there's no way to get a reference to the Response's JSON method because it doesn't exist yet.