You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am looking to access the resolved json object and also the response object on the
onSettled
callbackWhen using
fetch().then(res => res.json())
, thedata
from theonSettled
callback is the JSON payload. But not able to access.Is there a way to access both the json object, and response object too, so I can access
status
to get HTTP status code.Beta Was this translation helpful? Give feedback.
All reactions